public class Http401AuthenticationEntryPoint
extends Object
implements AuthenticationEntryPoint
AuthenticationEntryPoint that sends a 401 and Parameterized by the value of the WWW-Authenticate header. Like the BasicAuthenticationEntryPoint but more flexible.
Since:
1.3.0
Author:
Dave Syer
public void commence(HttpServletRequest request,
                     HttpServletResponse response,
                     AuthenticationException authException)
              throws IOException,
                     ServletException
Specified by:
commence in interface AuthenticationEntryPoint
Throws:
IOException
ServletException