List of usage examples for org.springframework.security.oauth2.provider.code JdbcAuthorizationCodeServices JdbcAuthorizationCodeServices
public JdbcAuthorizationCodeServices(DataSource dataSource)
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); }