public class ManualOAuthAuthenticationProvider extends Object implements AuthenticationProvider
AuthenticationProvider that allows for authentication
(username and password) against an OAuth Server using a password grant.| Constructor and Description |
|---|
ManualOAuthAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
authenticate(Authentication authentication) |
boolean |
supports(Class<?> authentication) |
org.springframework.security.oauth2.client.token.AccessTokenProvider |
userAccessTokenProvider() |
public org.springframework.security.oauth2.client.token.AccessTokenProvider userAccessTokenProvider()
public Authentication authenticate(Authentication authentication) throws AuthenticationException
authenticate in interface AuthenticationProviderAuthenticationExceptionpublic boolean supports(Class<?> authentication)
supports in interface AuthenticationProviderCopyright © 2016 Pivotal Software, Inc.. All rights reserved.