Package io.meeds.oauth2.server.security
Class OAuthDcrAuthenticationProvider
java.lang.Object
io.meeds.oauth2.server.security.OAuthDcrAuthenticationProvider
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
public class OAuthDcrAuthenticationProvider
extends Object
implements org.springframework.security.authentication.AuthenticationProvider
A Public Oauth clients Registration Handlers which will auto-register allowed
redirect URI(s) domain names
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOAuthDcrAuthenticationProvider(OAuthClientService oAuthClientService, OAuthPasswordEncoder passwordEncoder) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication authentication) boolean
-
Field Details
-
NON_PUBLIC_CLIENT_METADATA
-
-
Constructor Details
-
OAuthDcrAuthenticationProvider
public OAuthDcrAuthenticationProvider(OAuthClientService oAuthClientService, OAuthPasswordEncoder passwordEncoder)
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceorg.springframework.security.authentication.AuthenticationProvider
-
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
-