Class CustomTokenIntrospectionAuthenticationProvider

java.lang.Object
ch.admin.bit.jeap.oauth.mock.server.security.CustomTokenIntrospectionAuthenticationProvider
All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider

public class CustomTokenIntrospectionAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
  • Constructor Details

    • CustomTokenIntrospectionAuthenticationProvider

      public CustomTokenIntrospectionAuthenticationProvider(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService, org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder, OAuthMockData oAuthMockData)
  • Method Details

    • authenticate

      public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
      Specified by:
      authenticate in interface org.springframework.security.authentication.AuthenticationProvider
      Throws:
      org.springframework.security.core.AuthenticationException
    • supports

      public boolean supports(Class<?> authentication)
      Specified by:
      supports in interface org.springframework.security.authentication.AuthenticationProvider