List of usage examples for org.springframework.security.oauth.provider.token OAuthProviderTokenServices interface-usage
From source file com.porvak.bracket.social.develop.oauth.OAuthSessionManagerProviderTokenServices.java
/** * Adapts the {@link com.porvak.bracket.social.develop.oauth.OAuthSessionManager} API to the Spring Security {@link org.springframework.security.oauth.provider.token.OAuthProviderTokenServices}. * Allows for the {@link com.porvak.bracket.social.develop.oauth.OAuthSessionManager} to be used with Spring Security OAuth-based Provider to store OAuth request state and establish OAuth connections. * @author Keith Donald */ @Service("oauthProviderTokenServices")
From source file org.springframework.security.oauth.provider.token.RandomValueProviderTokenServices.java
/**
* Base implementation for token services that uses random values to generate tokens. Only the persistence mechanism
* is left unimplemented.<br/><br/>
*
* This base implementation creates tokens that have an expiration. For request tokens, the default validity is
* 10 minutes. For access tokens, the default validity is 12 hours.<br/><br/>