Class OAuth2ResourceOwnerPasswordCredentialsAuthenticationProvider
java.lang.Object
io.jmix.authserver.authentication.OAuth2ResourceOwnerPasswordCredentialsAuthenticationProvider
- All Implemented Interfaces:
- org.springframework.security.authentication.AuthenticationProvider
public class OAuth2ResourceOwnerPasswordCredentialsAuthenticationProvider
extends Object
implements org.springframework.security.authentication.AuthenticationProvider
An 
AuthenticationProvider implementation for the OAuth 2.0 Resource Owner Password Credentials Grant.- 
Constructor SummaryConstructorsConstructorDescriptionOAuth2ResourceOwnerPasswordCredentialsAuthenticationProvider(org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<? extends org.springframework.security.oauth2.core.OAuth2Token> tokenGenerator, org.springframework.security.authentication.AuthenticationManager authenticationManager, org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService) 
- 
Method SummaryModifier and TypeMethodDescriptionorg.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication authentication) boolean
- 
Constructor Details- 
OAuth2ResourceOwnerPasswordCredentialsAuthenticationProviderpublic OAuth2ResourceOwnerPasswordCredentialsAuthenticationProvider(org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<? extends org.springframework.security.oauth2.core.OAuth2Token> tokenGenerator, org.springframework.security.authentication.AuthenticationManager authenticationManager, org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService) 
 
- 
- 
Method Details- 
authenticatepublic org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException - Specified by:
- authenticatein interface- org.springframework.security.authentication.AuthenticationProvider
- Throws:
- org.springframework.security.core.AuthenticationException
 
- 
supports- Specified by:
- supportsin interface- org.springframework.security.authentication.AuthenticationProvider
 
 
-