org.springframework.security.oauth2.provider.endpoint
Class AbstractEndpoint
java.lang.Object
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
AbstractEndpoint
public AbstractEndpoint()
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.