Example usage for org.springframework.security.oauth2.provider.code JdbcAuthorizationCodeServices JdbcAuthorizationCodeServices

List of usage examples for org.springframework.security.oauth2.provider.code JdbcAuthorizationCodeServices JdbcAuthorizationCodeServices

Introduction

In this page you can find the example usage for org.springframework.security.oauth2.provider.code JdbcAuthorizationCodeServices JdbcAuthorizationCodeServices.

Prototype

public JdbcAuthorizationCodeServices(DataSource dataSource) 

Source Link

Usage

From source file:org.shaigor.rest.retro.security.gateway.config.OAuth2PersistenceConfiguration.java

/**
 * /* w  w w  .j  av a2 s . c om*/
 * @return JDBC based authorization code service
 */
@Bean
public AuthorizationCodeServices customAuthorizationCodeService() {
    return new JdbcAuthorizationCodeServices(securityDataSource);
}

From source file:org.appverse.web.framework.backend.security.oauth2.authserver.configuration.jdbcstore.AuthorizationServerWithJDBCStoreConfigurerAdapter.java

@Bean
protected AuthorizationCodeServices authorizationCodeServices() {
    return new JdbcAuthorizationCodeServices(dataSource);
}