public class InMemorySelfCleaningProviderTokenServices extends InMemoryProviderTokenServices implements DisposableBean
tokenStore
Constructor and Description |
---|
InMemorySelfCleaningProviderTokenServices() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initialze these token services.
|
void |
destroy() |
Integer |
getCleanupIntervalSeconds()
The interval at which to schedule cleanup.
|
void |
setCleanupIntervalSeconds(Integer cleanupIntervalSeconds)
The interval at which to schedule cleanup.
|
readToken, removeToken, storeToken
authorizeRequestToken, createAccessToken, createUnauthorizedRequestToken, getAccessTokenValiditySeconds, getLifecycleListeners, getRandom, getRequestTokenValiditySeconds, getToken, getTokenSecretLengthBytes, isExpired, onTokenCreated, onTokenRemoved, register, setAccessTokenValiditySeconds, setRandom, setRequestTokenValiditySeconds, setTokenSecretLengthBytes
public InMemorySelfCleaningProviderTokenServices()
public void afterPropertiesSet() throws Exception
RandomValueProviderTokenServices
afterPropertiesSet
in interface InitializingBean
afterPropertiesSet
in class RandomValueProviderTokenServices
Exception
public void destroy() throws Exception
destroy
in interface DisposableBean
Exception
public Integer getCleanupIntervalSeconds()
public void setCleanupIntervalSeconds(Integer cleanupIntervalSeconds)
cleanupIntervalSeconds
- The interval at which to schedule cleanup.Copyright © 2019. All rights reserved.