类 OAuth2AuthorizationCodeRequestJTIAuthenticationConverter
java.lang.Object
io.github.mangocrisp.spring.taybct.auth.security.granter.customize.OAuth2AuthorizationCodeRequestJTIAuthenticationConverter
- 所有已实现的接口:
org.springframework.security.web.authentication.AuthenticationConverter
public class OAuth2AuthorizationCodeRequestJTIAuthenticationConverter
extends Object
implements org.springframework.security.web.authentication.AuthenticationConverter
-
字段概要
字段修饰符和类型字段说明private static final org.springframework.security.core.Authentication
protected org.springframework.security.authentication.AuthenticationDetailsSource<jakarta.servlet.http.HttpServletRequest,
?> private AtomicReference<org.springframework.security.authentication.AuthenticationManager>
private static final String
private static final org.springframework.security.web.util.matcher.RequestMatcher
private static final String
private IUserDetailsHandle
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.security.core.Authentication
convert
(jakarta.servlet.http.HttpServletRequest request) private static org.springframework.security.web.util.matcher.RequestMatcher
protected void
setDetails
(jakarta.servlet.http.HttpServletRequest request, org.springframework.security.authentication.UsernamePasswordAuthenticationToken authRequest) Provided so that subclasses may configure what is put into the authentication request's details property.private static void
throwError
(String errorCode, String parameterName) private static void
throwError
(String errorCode, String parameterName, String errorUri)
-
字段详细资料
-
DEFAULT_ERROR_URI
- 另请参阅:
-
PKCE_ERROR_URI
- 另请参阅:
-
ANONYMOUS_AUTHENTICATION
private static final org.springframework.security.core.Authentication ANONYMOUS_AUTHENTICATION -
OIDC_REQUEST_MATCHER
private static final org.springframework.security.web.util.matcher.RequestMatcher OIDC_REQUEST_MATCHER -
authenticationDetailsSource
protected org.springframework.security.authentication.AuthenticationDetailsSource<jakarta.servlet.http.HttpServletRequest,?> authenticationDetailsSource -
userDetailsHandle
-
jtiCookieKeyFN
-
authenticationManagerAtomicReference
private AtomicReference<org.springframework.security.authentication.AuthenticationManager> authenticationManagerAtomicReference
-
-
构造器详细资料
-
OAuth2AuthorizationCodeRequestJTIAuthenticationConverter
public OAuth2AuthorizationCodeRequestJTIAuthenticationConverter()
-
-
方法详细资料
-
convert
public org.springframework.security.core.Authentication convert(jakarta.servlet.http.HttpServletRequest request) - 指定者:
convert
在接口中org.springframework.security.web.authentication.AuthenticationConverter
-
setDetails
protected void setDetails(jakarta.servlet.http.HttpServletRequest request, org.springframework.security.authentication.UsernamePasswordAuthenticationToken authRequest) Provided so that subclasses may configure what is put into the authentication request's details property.- 参数:
request
- that an authentication request is being created forauthRequest
- the authentication request object that should have its details set
-
createOidcRequestMatcher
private static org.springframework.security.web.util.matcher.RequestMatcher createOidcRequestMatcher() -
throwError
-
throwError
-