@Component(value="oauth1TokenServices")
public class OpenConextOauth1TokenServices
extends org.springframework.security.oauth.provider.token.RandomValueProviderTokenServices
implements org.springframework.beans.factory.InitializingBean
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenConextOauth1TokenServices.OAuthProviderTokenRowMapper |
| Constructor and Description |
|---|
OpenConextOauth1TokenServices() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected org.springframework.security.oauth.provider.token.OAuthProviderTokenImpl |
readToken(String authentication) |
protected org.springframework.security.oauth.provider.token.OAuthProviderTokenImpl |
removeToken(String tokenValue) |
void |
setDataSource(DataSource dataSource) |
protected void |
storeToken(String value,
org.springframework.security.oauth.provider.token.OAuthProviderTokenImpl token) |
authorizeRequestToken, createAccessToken, createUnauthorizedRequestToken, getAccessTokenValiditySeconds, getLifecycleListeners, getRandom, getRequestTokenValiditySeconds, getToken, getTokenSecretLengthBytes, isExpired, onTokenCreated, onTokenRemoved, register, setAccessTokenValiditySeconds, setRandom, setRequestTokenValiditySeconds, setTokenSecretLengthBytespublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springframework.security.oauth.provider.token.RandomValueProviderTokenServicesExceptionprotected org.springframework.security.oauth.provider.token.OAuthProviderTokenImpl readToken(String authentication)
readToken in class org.springframework.security.oauth.provider.token.RandomValueProviderTokenServicesprotected void storeToken(String value, org.springframework.security.oauth.provider.token.OAuthProviderTokenImpl token)
storeToken in class org.springframework.security.oauth.provider.token.RandomValueProviderTokenServicesprotected org.springframework.security.oauth.provider.token.OAuthProviderTokenImpl removeToken(String tokenValue)
removeToken in class org.springframework.security.oauth.provider.token.RandomValueProviderTokenServicespublic void setDataSource(DataSource dataSource)
Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.