Example usage for org.springframework.security.oauth2.provider.approval TokenApprovalStore setTokenStore

List of usage examples for org.springframework.security.oauth2.provider.approval TokenApprovalStore setTokenStore

Introduction

In this page you can find the example usage for org.springframework.security.oauth2.provider.approval TokenApprovalStore setTokenStore.

Prototype

public void setTokenStore(TokenStore store) 

Source Link

Usage

From source file:com.companyname.PlatOauth2AuthServerConfig.java

@Bean
public ApprovalStore approvalStore() throws Exception {
    logger.info("inside Stuff.approvalStore()");

    TokenApprovalStore store = new TokenApprovalStore();
    store.setTokenStore(tokenStore());
    return store;
}