public class OAuth2AuthenticationEntryPoint extends AbstractOAuth2SecurityExceptionHandler implements org.springframework.security.web.AuthenticationEntryPoint
| 构造器和说明 |
|---|
OAuth2AuthenticationEntryPoint() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
commence(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException authException) |
protected org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> |
enhanceResponse(org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> response,
java.lang.Exception authException) |
doHandle, setExceptionRenderer, setExceptionTranslatorpublic void commence(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException authException)
throws java.io.IOException,
javax.servlet.ServletException
commence 在接口中 org.springframework.security.web.AuthenticationEntryPointjava.io.IOExceptionjavax.servlet.ServletExceptionprotected org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> enhanceResponse(org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> response,
java.lang.Exception authException)