michael-o commented on PR #1278:
URL: https://github.com/apache/tomcat/pull/1278#issuecomment-7270929595

   > > It is a opportunity to inform client - why 401. Not basic auth, not 
digest auth, nor the target resource security constraints.
   > 
   > or CLIENT_CERT_AUTH instead.
   > 
   > ```java
   > public interface HttpServletRequest extends ServletRequest {
   > 
   >     /**
   >      * String identifier for Basic authentication. Value "BASIC"
   >      */
   >     String BASIC_AUTH = "BASIC";
   >     /**
   >      * String identifier for Form authentication. Value "FORM"
   >      */
   >     String FORM_AUTH = "FORM";
   >     /**
   >      * String identifier for Client Certificate authentication. Value 
"CLIENT_CERT"
   >      */
   >     String CLIENT_CERT_AUTH = "CLIENT_CERT";
   >     /**
   >      * String identifier for Digest authentication. Value "DIGEST"
   >      */
   >     String DIGEST_AUTH = "DIGEST";
   > ```
   
   These values are used in the `web.xml`.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to