|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.oauth.provider.ConsumerAuthentication
public class ConsumerAuthentication
Authentication for an OAuth consumer.
| Constructor Summary | |
|---|---|
ConsumerAuthentication(ConsumerDetails consumerDetails,
ConsumerCredentials consumerCredentials)
|
|
ConsumerAuthentication(ConsumerDetails consumerDetails,
ConsumerCredentials consumerCredentials,
Map<String,String> oauthParams)
|
|
| Method Summary | |
|---|---|
ConsumerCredentials |
getConsumerCredentials()
The credentials of this authentication. |
ConsumerDetails |
getConsumerDetails()
The consumer details. |
Object |
getCredentials()
The credentials. |
String |
getName()
The name of this principal is the consumer key. |
Map<String,String> |
getOAuthParameters()
Get the oauth parameters supplied in the request. |
Object |
getPrincipal()
The principal ( consumer details). |
boolean |
isAuthenticated()
Whether the signature has been validated. |
boolean |
isSignatureValidated()
Whether the signature has been validated. |
void |
setAuthenticated(boolean authenticated)
Whether the signature has been validated. |
void |
setSignatureValidated(boolean signatureValidated)
Whether the signature has been validated. |
| Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken |
|---|
equals, eraseCredentials, getAuthorities, getDetails, hashCode, setDetails, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConsumerAuthentication(ConsumerDetails consumerDetails,
ConsumerCredentials consumerCredentials)
public ConsumerAuthentication(ConsumerDetails consumerDetails,
ConsumerCredentials consumerCredentials,
Map<String,String> oauthParams)
| Method Detail |
|---|
public Object getCredentials()
getConsumerCredentials()public ConsumerCredentials getConsumerCredentials()
public Object getPrincipal()
consumer details).
getConsumerDetails()public ConsumerDetails getConsumerDetails()
public Map<String,String> getOAuthParameters()
public String getName()
getName in interface PrincipalgetName in class org.springframework.security.authentication.AbstractAuthenticationTokenpublic 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||