@Deprecated public class DefaultAuthenticationHandler extends Object implements OAuthAuthenticationHandler
| Constructor and Description |
|---|
DefaultAuthenticationHandler()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
createAuthentication(javax.servlet.http.HttpServletRequest request,
ConsumerAuthentication authentication,
OAuthAccessProviderToken authToken)
Deprecated.
Default implementation returns the user authentication associated with the auth token, if the token is provided.
|
public org.springframework.security.core.Authentication createAuthentication(javax.servlet.http.HttpServletRequest request,
ConsumerAuthentication authentication,
OAuthAccessProviderToken authToken)
createAuthentication in interface OAuthAuthenticationHandlerrequest - The request that was successfully authenticated.authentication - The consumer authentication (details about how the request was authenticated).authToken - The OAuth token associated with the authentication. This token MAY be null if no authenticated token was needed to successfully
authenticate the request (for example, in the case of 2-legged OAuth).Copyright © 2020. All rights reserved.