|
|
|
|
@ -35,19 +35,19 @@ public interface AuthenticationEntryPoint {
@@ -35,19 +35,19 @@ public interface AuthenticationEntryPoint {
|
|
|
|
|
//~ Methods ========================================================================================================
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Commences an authentication scheme.<P><code>SecurityEnforcementFilter</code> will populate the |
|
|
|
|
* <code>HttpSession</code> attribute named |
|
|
|
|
* <code>AuthenticationProcessingFilter.ACEGI_SECURITY_TARGET_URL_KEY</code> with the requested target URL before |
|
|
|
|
* Commences an authentication scheme. |
|
|
|
|
* <p> |
|
|
|
|
* <code>ExceptionTranslationFilter</code> will populate the <code>HttpSession</code> attribute named |
|
|
|
|
* <code>AbstractProcessingFilter.SPRING_SECURITY_SAVED_REQUEST_KEY</code> with the requested target URL before |
|
|
|
|
* calling this method.</p> |
|
|
|
|
* <P>Implementations should modify the headers on the <code>ServletResponse</code> as necessary to |
|
|
|
|
* |
|
|
|
|
* <p>Implementations should modify the headers on the <code>ServletResponse</code> as necessary to |
|
|
|
|
* commence the authentication process.</p> |
|
|
|
|
* |
|
|
|
|
* @param request that resulted in an <code>AuthenticationException</code> |
|
|
|
|
* @param response so that the user agent can begin authentication |
|
|
|
|
* @param authException that caused the invocation |
|
|
|
|
* |
|
|
|
|
* @throws IOException DOCUMENT ME! |
|
|
|
|
* @throws ServletException DOCUMENT ME! |
|
|
|
|
*/ |
|
|
|
|
void commence(ServletRequest request, ServletResponse response, AuthenticationException authException) |
|
|
|
|
throws IOException, ServletException; |
|
|
|
|
|