类 Http401AuthenticationEntryPoint
- java.lang.Object
- org.springframework.boot.autoconfigure.security.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 theWWW-Authenticate
header. Like theBasicAuthenticationEntryPoint
but more flexible.- 从以下版本开始:
- 1.3.0
构造器概要
构造器 构造器 说明 Http401AuthenticationEntryPoint(String headerValue)
构造器详细资料
Http401AuthenticationEntryPoint
public Http401AuthenticationEntryPoint(String headerValue)
方法详细资料
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