相关文章推荐
腼腆的遥控器  ·  element-ui ...·  1 年前    · 
仗义的斑马  ·  Format scripts and ...·  2 年前    · 
冷冷的胡萝卜  ·  Vs2017 控制台 ...·  3 年前    · 
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