List of usage examples for org.springframework.security.oauth2.provider.token DefaultTokenServices afterPropertiesSet
public void afterPropertiesSet() throws Exception
From source file:org.osiam.configuration.OAuth2AuthorizationServerConfig.java
@Bean public DefaultTokenServices tokenServices() throws Exception { DefaultTokenServices tokenServices = new DefaultTokenServices(); tokenServices.setTokenStore(tokenStore()); tokenServices.setSupportRefreshToken(true); tokenServices.setReuseRefreshToken(true); tokenServices.setClientDetailsService(osiamClientDetailsService); tokenServices.setTokenEnhancer(osiamTokenEnhancer()); tokenServices.afterPropertiesSet(); return tokenServices; }