相关文章推荐
英姿勃勃的伤疤  ·  mac ...·  1 年前    · 
酷酷的松鼠  ·  Add VBA macro to ...·  1 年前    · 
聪明的牛肉面  ·  PowerShell笔记 - ...·  1 年前    · 
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