org.springframework.security.oauth.examples.sparklr.oauth
Class SparklrConsumerDetails

java.lang.Object
  extended by org.springframework.security.oauth.provider.BaseConsumerDetails
      extended by org.springframework.security.oauth.examples.sparklr.oauth.SparklrConsumerDetails
All Implemented Interfaces:
Serializable, ConsumerDetails, ExtraTrustConsumerDetails, ResourceSpecificConsumerDetails

public class SparklrConsumerDetails
extends BaseConsumerDetails

Author:
Ryan Heaton
See Also:
Serialized Form

Constructor Summary
SparklrConsumerDetails()
           
 
Method Summary
 String getDisplayName()
          The display name of the consumer.
 String getResourceDescription()
          The description of the resource that this consumer can be granted access to.
 String getResourceName()
          The name of the resource that this consumer can be granted access to.
 void setDisplayName(String displayName)
          The display name of the consumer.
 void setResourceDescription(String resourceDescription)
          The description of the resource that this consumer can be granted access to.
 void setResourceName(String resourceName)
          The name of the resource that this consumer can be granted access to.
 
Methods inherited from class org.springframework.security.oauth.provider.BaseConsumerDetails
getAuthorities, getConsumerKey, getConsumerName, getSignatureSecret, isRequiredToObtainAuthenticatedToken, setAuthorities, setConsumerKey, setConsumerName, setRequiredToObtainAuthenticatedToken, setSignatureSecret
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SparklrConsumerDetails

public SparklrConsumerDetails()
Method Detail

getDisplayName

public String getDisplayName()
The display name of the consumer.

Returns:
The display name of the consumer.

setDisplayName

public void setDisplayName(String displayName)
The display name of the consumer.

Parameters:
displayName - The display name of the consumer.

getResourceName

public String getResourceName()
The name of the resource that this consumer can be granted access to.

Specified by:
getResourceName in interface ResourceSpecificConsumerDetails
Overrides:
getResourceName in class BaseConsumerDetails
Returns:
The name of the resource that this consumer can be granted access to.

setResourceName

public void setResourceName(String resourceName)
The name of the resource that this consumer can be granted access to.

Overrides:
setResourceName in class BaseConsumerDetails
Parameters:
resourceName - The name of the resource that this consumer can be granted access to.

getResourceDescription

public String getResourceDescription()
The description of the resource that this consumer can be granted access to.

Specified by:
getResourceDescription in interface ResourceSpecificConsumerDetails
Overrides:
getResourceDescription in class BaseConsumerDetails
Returns:
The description of the resource that this consumer can be granted access to.

setResourceDescription

public void setResourceDescription(String resourceDescription)
The description of the resource that this consumer can be granted access to.

Overrides:
setResourceDescription in class BaseConsumerDetails
Parameters:
resourceDescription - The description of the resource that this consumer can be granted access to.


Copyright © 2012. All Rights Reserved.