org.springframework.security.oauth2.provider.endpoint
Class AbstractEndpoint

java.lang.Object
  extended by org.springframework.security.oauth2.provider.endpoint.AbstractEndpoint
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
AuthorizationEndpoint, TokenEndpoint

public class AbstractEndpoint
extends Object
implements org.springframework.beans.factory.InitializingBean

Author:
Dave Syer

Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Constructor Summary
AbstractEndpoint()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  ClientDetailsService getClientDetailsService()
           
protected  OAuth2RequestFactory getDefaultOAuth2RequestFactory()
           
protected  WebResponseExceptionTranslator getExceptionTranslator()
           
protected  OAuth2RequestFactory getOAuth2RequestFactory()
           
protected  TokenGranter getTokenGranter()
           
 void setClientDetailsService(ClientDetailsService clientDetailsService)
           
 void setOAuth2RequestFactory(OAuth2RequestFactory oAuth2RequestFactory)
           
 void setProviderExceptionHandler(WebResponseExceptionTranslator providerExceptionHandler)
           
 void setTokenGranter(TokenGranter tokenGranter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Constructor Detail

AbstractEndpoint

public AbstractEndpoint()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

setProviderExceptionHandler

public void setProviderExceptionHandler(WebResponseExceptionTranslator providerExceptionHandler)

setTokenGranter

public void setTokenGranter(TokenGranter tokenGranter)

getTokenGranter

protected TokenGranter getTokenGranter()

getExceptionTranslator

protected WebResponseExceptionTranslator getExceptionTranslator()

getOAuth2RequestFactory

protected OAuth2RequestFactory getOAuth2RequestFactory()

getDefaultOAuth2RequestFactory

protected OAuth2RequestFactory getDefaultOAuth2RequestFactory()

setOAuth2RequestFactory

public void setOAuth2RequestFactory(OAuth2RequestFactory oAuth2RequestFactory)

getClientDetailsService

protected ClientDetailsService getClientDetailsService()

setClientDetailsService

public void setClientDetailsService(ClientDetailsService clientDetailsService)


Copyright © 2013. All rights reserved.