org.springframework.security.oauth.config
Class ConsumerDetailsFactoryBean

java.lang.Object
  extended by org.springframework.security.oauth.config.ConsumerDetailsFactoryBean
All Implemented Interfaces:
Aware, FactoryBean<ConsumerDetails>, ResourceLoaderAware

public class ConsumerDetailsFactoryBean
extends Object
implements FactoryBean<ConsumerDetails>, ResourceLoaderAware

Author:
Dave Syer

Constructor Summary
ConsumerDetailsFactoryBean()
           
 
Method Summary
 ConsumerDetails getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setAuthorities(String authorities)
           
 void setConsumerKey(String consumerKey)
           
 void setConsumerName(String consumerName)
           
 void setRequiredToObtainAuthenticatedToken(boolean requiredToObtainAuthenticatedToken)
           
 void setResourceDescription(String resourceDescription)
           
 void setResourceLoader(ResourceLoader resourceLoader)
           
 void setResourceName(String resourceName)
           
 void setSecret(String secret)
           
 void setSignatureSecret(SignatureSecret signatureSecret)
           
 void setTypeOfSecret(Object typeOfSecret)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsumerDetailsFactoryBean

public ConsumerDetailsFactoryBean()
Method Detail

setResourceLoader

public void setResourceLoader(ResourceLoader resourceLoader)
Specified by:
setResourceLoader in interface ResourceLoaderAware

setSecret

public void setSecret(String secret)

setConsumerKey

public void setConsumerKey(String consumerKey)

setConsumerName

public void setConsumerName(String consumerName)

setSignatureSecret

public void setSignatureSecret(SignatureSecret signatureSecret)

setAuthorities

public void setAuthorities(String authorities)

setResourceName

public void setResourceName(String resourceName)

setResourceDescription

public void setResourceDescription(String resourceDescription)

setRequiredToObtainAuthenticatedToken

public void setRequiredToObtainAuthenticatedToken(boolean requiredToObtainAuthenticatedToken)

setTypeOfSecret

public void setTypeOfSecret(Object typeOfSecret)

getObject

public ConsumerDetails getObject()
                          throws Exception
Specified by:
getObject in interface FactoryBean<ConsumerDetails>
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean<ConsumerDetails>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean<ConsumerDetails>


Copyright © 2012. All Rights Reserved.