类 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
  • 字段详细资料

    • DEFAULT_ERROR_URI

      private static final String DEFAULT_ERROR_URI
      另请参阅:
    • PKCE_ERROR_URI

      private static final String 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

      private IUserDetailsHandle userDetailsHandle
    • jtiCookieKeyFN

      private Function<String,String> 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 for
      authRequest - the authentication request object that should have its details set
    • createOidcRequestMatcher

      private static org.springframework.security.web.util.matcher.RequestMatcher createOidcRequestMatcher()
    • throwError

      private static void throwError(String errorCode, String parameterName)
    • throwError

      private static void throwError(String errorCode, String parameterName, String errorUri)