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

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

public class AbstractEndpoint
extends Object
implements InitializingBean

Author:
Dave Syer

Field Summary
protected  Log logger
           
 
Constructor Summary
AbstractEndpoint()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  AuthorizationRequestManager getAuthorizationRequestManager()
           
protected  ClientDetailsService getClientDetailsService()
           
protected  AuthorizationRequestManager getDefaultAuthorizationRequestManager()
           
protected  WebResponseExceptionTranslator getExceptionTranslator()
           
protected  TokenGranter getTokenGranter()
           
 void setAuthorizationRequestManager(AuthorizationRequestManager authorizationRequestManager)
           
 void setClientDetailsService(ClientDetailsService clientDetailsService)
           
 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 Log logger
Constructor Detail

AbstractEndpoint

public AbstractEndpoint()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

setProviderExceptionHandler

public void setProviderExceptionHandler(WebResponseExceptionTranslator providerExceptionHandler)

setTokenGranter

public void setTokenGranter(TokenGranter tokenGranter)

getTokenGranter

protected TokenGranter getTokenGranter()

getExceptionTranslator

protected WebResponseExceptionTranslator getExceptionTranslator()

getAuthorizationRequestManager

protected AuthorizationRequestManager getAuthorizationRequestManager()

getDefaultAuthorizationRequestManager

protected AuthorizationRequestManager getDefaultAuthorizationRequestManager()

setAuthorizationRequestManager

public void setAuthorizationRequestManager(AuthorizationRequestManager authorizationRequestManager)

getClientDetailsService

protected ClientDetailsService getClientDetailsService()

setClientDetailsService

public void setClientDetailsService(ClientDetailsService clientDetailsService)


Copyright © 2012. All Rights Reserved.