public class X509ProcessingFilterEntryPoint extends Object implements AuthenticationEntryPoint
Therefore this class isn't actually responsible for the commencement of authentication, as it is in the case of other providers. It will be called if the certificate was rejected by Acegi's X509AuthenticationProvider, resulting in a null authentication.
Thecommence
method will always return an
HttpServletResponse.SC_FORBIDDEN
(403 error).ExceptionTranslationFilter
Constructor and Description |
---|
X509ProcessingFilterEntryPoint() |
Modifier and Type | Method and Description |
---|---|
void |
commence(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
AuthenticationException authException)
Returns a 403 error code to the client.
|
public void commence(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, AuthenticationException authException) throws IOException, javax.servlet.ServletException
commence
in interface AuthenticationEntryPoint
request
- DOCUMENT ME!response
- DOCUMENT ME!authException
- DOCUMENT ME!IOException
- DOCUMENT ME!javax.servlet.ServletException
- DOCUMENT ME!Copyright © 2018. All rights reserved.