Example usage for org.springframework.security.oauth2.provider.token DefaultAuthenticationKeyGenerator DefaultAuthenticationKeyGenerator

List of usage examples for org.springframework.security.oauth2.provider.token DefaultAuthenticationKeyGenerator DefaultAuthenticationKeyGenerator

Introduction

In this page you can find the example usage for org.springframework.security.oauth2.provider.token DefaultAuthenticationKeyGenerator DefaultAuthenticationKeyGenerator.

Prototype

DefaultAuthenticationKeyGenerator

Source Link

Usage

From source file:com.create.application.configuration.CacheConfiguration.java

@Bean(name = SpringCacheTokenStoreImpl.OAUTH2_AUTHENTICATION_KEY_GENERATOR)
public OAuth2AuthenticationKeyGenerator oauth2AuthenticationKeyGenerator() {
    return new OAuth2AuthenticationKeyGenerator(new DefaultAuthenticationKeyGenerator());
}