public class ManualOAuthAuthenticationProvider extends Object implements org.springframework.security.authentication.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 |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
boolean |
supports(Class<?> authentication) |
org.springframework.security.oauth2.client.token.AccessTokenProvider |
userAccessTokenProvider() |
public org.springframework.security.oauth2.client.token.AccessTokenProvider userAccessTokenProvider()
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
throws org.springframework.security.core.AuthenticationException
authenticate in interface org.springframework.security.authentication.AuthenticationProviderorg.springframework.security.core.AuthenticationExceptionpublic boolean supports(Class<?> authentication)
supports in interface org.springframework.security.authentication.AuthenticationProviderCopyright © 2016 Pivotal Software, Inc.. All rights reserved.