use of org.springframework.security.oauth2.provider.token.store.JwtTokenStore in project spring-security-oauth by spring-projects.
the class Application method tokenStore.
@Bean
public JwtTokenStore tokenStore() throws Exception {
JwtAccessTokenConverter enhancer = new JwtAccessTokenConverter();
// N.B. in a real system you would have to configure the verifierKey (or use JdbcTokenStore)
enhancer.afterPropertiesSet();
return new JwtTokenStore(enhancer);
}
Aggregations