Separate code to do tls and non-tls authentication. Introduce AuthTLSException to make error handling easier.
View differences
Separate code to do tls and non-tls authentication. Introduce AuthTLSException to make error handling easier.