|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.security.oauth.provider.BaseConsumerDetails
public class BaseConsumerDetails
Base implementation for consumer details.
| Constructor Summary | |
|---|---|
BaseConsumerDetails()
|
|
| Method Summary | |
|---|---|
List<org.springframework.security.core.GrantedAuthority> |
getAuthorities()
The base authorities for this consumer. |
String |
getConsumerKey()
The consumer key. |
String |
getConsumerName()
The name of the consumer. |
String |
getResourceDescription()
The description of the resource. |
String |
getResourceName()
The name of the resource. |
SignatureSecret |
getSignatureSecret()
The signature secret. |
boolean |
isRequiredToObtainAuthenticatedToken()
Whether this consumer is required to obtain an authenticated oauth token. |
void |
setAuthorities(List<org.springframework.security.core.GrantedAuthority> authorities)
The base authorities for this consumer. |
void |
setConsumerKey(String consumerKey)
The consumer key. |
void |
setConsumerName(String consumerName)
The name of the consumer. |
void |
setRequiredToObtainAuthenticatedToken(boolean requiredToObtainAuthenticatedToken)
Whether this consumer is required to obtain an authenticated oauth token. |
void |
setResourceDescription(String resourceDescription)
The description of the resource. |
void |
setResourceName(String resourceName)
The name of the resource. |
void |
setSignatureSecret(SignatureSecret signatureSecret)
The signature secret. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseConsumerDetails()
| Method Detail |
|---|
public String getConsumerKey()
getConsumerKey in interface ConsumerDetailspublic void setConsumerKey(String consumerKey)
consumerKey - The consumer key.public String getConsumerName()
getConsumerName in interface ConsumerDetailspublic void setConsumerName(String consumerName)
consumerName - The name of the consumer.public SignatureSecret getSignatureSecret()
getSignatureSecret in interface ConsumerDetailspublic void setSignatureSecret(SignatureSecret signatureSecret)
signatureSecret - The signature secret.public List<org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface ConsumerDetailspublic void setAuthorities(List<org.springframework.security.core.GrantedAuthority> authorities)
authorities - The base authorities for this consumer.public String getResourceName()
getResourceName in interface ResourceSpecificConsumerDetailspublic void setResourceName(String resourceName)
resourceName - The name of the resource.public String getResourceDescription()
getResourceDescription in interface ResourceSpecificConsumerDetailspublic void setResourceDescription(String resourceDescription)
resourceDescription - The description of the resource.public boolean isRequiredToObtainAuthenticatedToken()
isRequiredToObtainAuthenticatedToken in interface ExtraTrustConsumerDetailspublic void setRequiredToObtainAuthenticatedToken(boolean requiredToObtainAuthenticatedToken)
requiredToObtainAuthenticatedToken - Whether this consumer is required to obtain an authenticated oauth token.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||