diff --git a/core/src/main/java/org/springframework/security/ui/AuthenticationEntryPoint.java b/core/src/main/java/org/springframework/security/ui/AuthenticationEntryPoint.java index ed8f2447bc..afa0f08dbb 100644 --- a/core/src/main/java/org/springframework/security/ui/AuthenticationEntryPoint.java +++ b/core/src/main/java/org/springframework/security/ui/AuthenticationEntryPoint.java @@ -35,19 +35,19 @@ public interface AuthenticationEntryPoint { //~ Methods ======================================================================================================== /** - * Commences an authentication scheme.

SecurityEnforcementFilter will populate the - * HttpSession attribute named - * AuthenticationProcessingFilter.ACEGI_SECURITY_TARGET_URL_KEY with the requested target URL before + * Commences an authentication scheme. + *

+ * ExceptionTranslationFilter will populate the HttpSession attribute named + * AbstractProcessingFilter.SPRING_SECURITY_SAVED_REQUEST_KEY with the requested target URL before * calling this method.

- *

Implementations should modify the headers on the ServletResponse as necessary to + * + *

Implementations should modify the headers on the ServletResponse as necessary to * commence the authentication process.

* * @param request that resulted in an AuthenticationException * @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;