Package swiss.trustbroker.oidc
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
ConstructorsConstructorDescriptionCustomUserInfoAuthenticationProvider(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 TypeMethodDescriptionorg.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication authentication) boolean
-
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:
authenticatein interfaceorg.springframework.security.authentication.AuthenticationProvider- Throws:
org.springframework.security.core.AuthenticationException
-
supports
- Specified by:
supportsin interfaceorg.springframework.security.authentication.AuthenticationProvider
-