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.AuthenticationProvider
org.springframework.security.core.AuthenticationException
public boolean supports(Class<?> authentication)
supports
in interface org.springframework.security.authentication.AuthenticationProvider
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.