Java Code Examples for org.springframework.security.oauth2.provider.approval.TokenApprovalStore

The following examples show how to use org.springframework.security.oauth2.provider.approval.TokenApprovalStore. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may want to check out the right sidebar which shows the related API usage.
Example 1
@Bean
@Autowired
public ApprovalStore approvalStore(TokenStore tokenStore) throws Exception {
  TokenApprovalStore store = new TokenApprovalStore();
  store.setTokenStore(tokenStore);
  return store;
}
 
Example 2
@Bean
@Autowired
public ApprovalStore approvalStore(TokenStore tokenStore) throws Exception {
    TokenApprovalStore store = new TokenApprovalStore();
    store.setTokenStore(tokenStore);
    return store;
}
 
Example 3
Source Project: swaggy-jenkins   Source File: OAuth2SecurityConfiguration.java    License: MIT License 5 votes vote down vote up
@Bean
@Autowired
public ApprovalStore approvalStore(TokenStore tokenStore) throws Exception {
    TokenApprovalStore store = new TokenApprovalStore();
    store.setTokenStore(tokenStore);
    return store;
}
 
Example 4
Source Project: swagger-aem   Source File: OAuth2SecurityConfiguration.java    License: Apache License 2.0 5 votes vote down vote up
@Bean
@Autowired
public ApprovalStore approvalStore(TokenStore tokenStore) throws Exception {
    TokenApprovalStore store = new TokenApprovalStore();
    store.setTokenStore(tokenStore);
    return store;
}
 
Example 5
Source Project: spring-boot-demo   Source File: AuthorizationServerConfig.java    License: MIT License 4 votes vote down vote up
@Bean
public ApprovalStore approvalStore() {
    TokenApprovalStore store = new TokenApprovalStore();
    store.setTokenStore(tokenStore());
    return store;
}