Example usage for org.springframework.security.oauth2.config.annotation.web.configurers ResourceServerSecurityConfigurer tokenStore

List of usage examples for org.springframework.security.oauth2.config.annotation.web.configurers ResourceServerSecurityConfigurer tokenStore

Introduction

In this page you can find the example usage for org.springframework.security.oauth2.config.annotation.web.configurers ResourceServerSecurityConfigurer tokenStore.

Prototype

TokenStore tokenStore

To view the source code for org.springframework.security.oauth2.config.annotation.web.configurers ResourceServerSecurityConfigurer tokenStore.

Click Source Link

Usage

From source file:org.appverse.web.framework.backend.security.oauth2.resourceserver.configuration.ResourceServerStoreConfigurerAdapter.java

@Override
public void configure(ResourceServerSecurityConfigurer resources) throws Exception {
    resources.tokenStore(tokenStore);
}

From source file:org.appverse.web.framework.backend.security.oauth2.resourceserver.configuration.jwtstore.ResourceServerWithJWTStoreConfigurerAdapter.java

@Override
public void configure(ResourceServerSecurityConfigurer resources) throws Exception {
    resources.tokenStore(tokenStore());
}