Class CustomUserInfoAuthenticationProvider

java.lang.Object
swiss.trustbroker.oidc.CustomUserInfoAuthenticationProvider
All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider

public class CustomUserInfoAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomUserInfoAuthenticationProvider(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService, org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationProvider jwtAuthenticationProvider, org.springframework.security.oauth2.server.authorization.oidc.authentication.OidcUserInfoAuthenticationProvider userInfoAuthenticationProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.core.Authentication
    authenticate(org.springframework.security.core.Authentication authentication)
     
    boolean
    supports(Class<?> authentication)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CustomUserInfoAuthenticationProvider

      public CustomUserInfoAuthenticationProvider(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService, org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationProvider jwtAuthenticationProvider, org.springframework.security.oauth2.server.authorization.oidc.authentication.OidcUserInfoAuthenticationProvider userInfoAuthenticationProvider)
  • 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