添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
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