类 Http401AuthenticationEntryPoint

  • 所有已实现的接口:
    org.springframework.security.web.AuthenticationEntryPoint

    public class Http401AuthenticationEntryPoint
    extends Object
    implements org.springframework.security.web.AuthenticationEntryPoint
    AuthenticationEntryPoint that sends a 401 and Parameterized by the value of the WWW-Authenticate header. Like the BasicAuthenticationEntryPoint but more flexible.
    从以下版本开始:
    1.3.0
    • 方法详细资料

      • commence

        public void commence​(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             org.springframework.security.core.AuthenticationException authException)
                      throws IOException,
                             javax.servlet.ServletException
        指定者:
        commence 在接口中 org.springframework.security.web.AuthenticationEntryPoint
        抛出:
        IOException
        javax.servlet.ServletException