Package org.springframework.security.web
Interface AuthenticationEntryPoint
- 
- All Known Implementing Classes:
- BasicAuthenticationEntryPoint,- BearerTokenAuthenticationEntryPoint,- CasAuthenticationEntryPoint,- DelegatingAuthenticationEntryPoint,- DigestAuthenticationEntryPoint,- Http403ForbiddenEntryPoint,- HttpStatusEntryPoint,- LoginUrlAuthenticationEntryPoint
 
 public interface AuthenticationEntryPointUsed byExceptionTranslationFilterto commence an authentication scheme.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcommence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationException authException)Commences an authentication scheme.
 
- 
- 
- 
Method Detail- 
commencevoid commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationException authException) throws java.io.IOException, javax.servlet.ServletExceptionCommences an authentication scheme.ExceptionTranslationFilterwill populate theHttpSessionattribute namedAbstractAuthenticationProcessingFilter.SPRING_SECURITY_SAVED_REQUEST_KEYwith the requested target URL before calling this method.Implementations should modify the headers on the ServletResponseas necessary to commence the authentication process.- Parameters:
- request- that resulted in an- AuthenticationException
- response- so that the user agent can begin authentication
- authException- that caused the invocation
- Throws:
- java.io.IOException
- javax.servlet.ServletException
 
 
- 
 
-