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

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