public interface AuthenticationEntryPoint
ExceptionTranslationFilter
to commence an authentication
scheme.Modifier and Type | Method and Description |
---|---|
void |
commence(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
AuthenticationException authException)
Commences an authentication scheme.
|
void commence(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, AuthenticationException authException) throws IOException, javax.servlet.ServletException
SecurityEnforcementFilter
will populate the
HttpSession
attribute named
AuthenticationProcessingFilter.ACEGI_SECURITY_TARGET_URL_KEY
with the requested target URL before
calling this method.
Implementations should modify the headers on the ServletResponse
as necessary to
commence the authentication process.
request
- that resulted in an AuthenticationException
response
- so that the user agent can begin authenticationauthException
- that caused the invocationIOException
- DOCUMENT ME!javax.servlet.ServletException
- DOCUMENT ME!Copyright © 2019. All rights reserved.