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

The following examples show how to use org.springframework.security.oauth2.provider.approval.JdbcApprovalStore. 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 check out the related API usage on the sidebar.
Example 1
Source Project: pacbot   Source File: AuthorizationServerConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
public ApprovalStore approvalStore() {
    return new JdbcApprovalStore(dataSource);
}
 
Example 2
Source Project: JetfireCloud   Source File: AuthenticationServerConfig.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
public ApprovalStore approvalStore() {
    return new JdbcApprovalStore(dataSource);
}
 
Example 3
Source Project: OAuth-2.0-Cookbook   Source File: OAuth2AuthorizationServer.java    License: MIT License 4 votes vote down vote up
@Bean
public ApprovalStore approvalStore() {
    return new JdbcApprovalStore(dataSource);
}
 
Example 4
Source Project: OAuth-2.0-Cookbook   Source File: OAuth2AuthorizationServer.java    License: MIT License 4 votes vote down vote up
@Bean
public ApprovalStore approvalStore() {
    return new JdbcApprovalStore(dataSource);
}
 
Example 5
Source Project: OAuth-2.0-Cookbook   Source File: OAuth2AuthorizationServer.java    License: MIT License 4 votes vote down vote up
@Bean
public ApprovalStore approvalStore() {
    return new JdbcApprovalStore(dataSource);
}
 
Example 6
Source Project: spring-oauth-example   Source File: OAuthConfiguration.java    License: MIT License 4 votes vote down vote up
@Bean
public ApprovalStore approvalStore() {
    return new JdbcApprovalStore(oauthDataSource());
}
 
Example 7
Source Project: open-cloud   Source File: AuthorizationServerConfiguration.java    License: MIT License 2 votes vote down vote up
/**
 * 授权store
 *
 * @return
 */
@Bean
public ApprovalStore approvalStore() {
    return new JdbcApprovalStore(dataSource);
}
 
Example 8
Source Project: open-cloud   Source File: AuthorizationServerConfiguration.java    License: MIT License 2 votes vote down vote up
/**
 * 授权store
 *
 * @return
 */
@Bean
public ApprovalStore approvalStore() {
    return new JdbcApprovalStore(dataSource);
}
 
Example 9
Source Project: SpringCloud   Source File: AuthorizationServerConfig.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * 授权信息持久化实现
 *
 * @return JdbcApprovalStore
 */
@Bean
public ApprovalStore approvalStore() {
    return new JdbcApprovalStore(dataSource);
}