rrodewald opened a new pull request #444:
URL: https://github.com/apache/tomcat/pull/444


   The main purpose of the proposed refactoring is to give an individual 
`Authenticator` the possibility to decide if preemptive authentication is 
possible (e.g. if a completely different header is used for authentication).
   
   In addition it yields cleaner code as the certificate handling code and the 
header name for basic, digest and spnego auth can now be moved to the relevant 
`Authenticator`s and does not pollute the `AuthenicatorBase`. 
`FormAuthenticator` and `NonLoginAuthenticator` don't need to override 
`isPreemptiveAuthRequest()` as preemptive is not supported/needed.
   
   Main changes:
   - new protected method isPreemptiveAuthRequest() in AuthenticatorBase
   which is overridden in some authenticators
   - moved getRequestCertificates() from AuthenticatorBase to
   SSLAuthenticator


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to