@Deprecated public class ConsumerAuthentication extends org.springframework.security.authentication.AbstractAuthenticationToken
| Constructor and Description |
|---|
ConsumerAuthentication(ConsumerDetails consumerDetails,
ConsumerCredentials consumerCredentials)
Deprecated.
|
ConsumerAuthentication(ConsumerDetails consumerDetails,
ConsumerCredentials consumerCredentials,
Map<String,String> oauthParams)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ConsumerCredentials |
getConsumerCredentials()
Deprecated.
The credentials of this authentication.
|
ConsumerDetails |
getConsumerDetails()
Deprecated.
The consumer details.
|
Object |
getCredentials()
Deprecated.
The credentials.
|
String |
getName()
Deprecated.
The name of this principal is the consumer key.
|
Map<String,String> |
getOAuthParameters()
Deprecated.
Get the oauth parameters supplied in the request.
|
Object |
getPrincipal()
Deprecated.
The principal (
consumer details). |
boolean |
isAuthenticated()
Deprecated.
Whether the signature has been validated.
|
boolean |
isSignatureValidated()
Deprecated.
Whether the signature has been validated.
|
void |
setAuthenticated(boolean authenticated)
Deprecated.
Whether the signature has been validated.
|
void |
setSignatureValidated(boolean signatureValidated)
Deprecated.
Whether the signature has been validated.
|
equals, eraseCredentials, getAuthorities, getDetails, hashCode, setDetails, toStringpublic ConsumerAuthentication(ConsumerDetails consumerDetails, ConsumerCredentials consumerCredentials)
public ConsumerAuthentication(ConsumerDetails consumerDetails, ConsumerCredentials consumerCredentials, Map<String,String> oauthParams)
public Object getCredentials()
getConsumerCredentials()public ConsumerCredentials getConsumerCredentials()
public Object getPrincipal()
consumer details).getConsumerDetails()public ConsumerDetails getConsumerDetails()
public Map<String,String> getOAuthParameters()
public String getName()
public boolean isSignatureValidated()
public void setSignatureValidated(boolean signatureValidated)
signatureValidated - Whether the signature has been validated.public boolean isAuthenticated()
isAuthenticated in interface org.springframework.security.core.AuthenticationisAuthenticated in class org.springframework.security.authentication.AbstractAuthenticationTokenpublic void setAuthenticated(boolean authenticated)
setAuthenticated in interface org.springframework.security.core.AuthenticationsetAuthenticated in class org.springframework.security.authentication.AbstractAuthenticationTokenauthenticated - Whether the signature has been validated.Copyright © 2020. All rights reserved.