Class JdbcOAuth2AuthorizationService

java.lang.Object
org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
All Implemented Interfaces:
OAuth2AuthorizationService

@ImportRuntimeHints(org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService.JdbcOAuth2AuthorizationServiceRuntimeHintsRegistrar.class) public class JdbcOAuth2AuthorizationService extends Object implements OAuth2AuthorizationService
A JDBC implementation of an OAuth2AuthorizationService that uses a JdbcOperations for OAuth2Authorization persistence.

IMPORTANT: This OAuth2AuthorizationService depends on the table definition described in "classpath:org/springframework/security/oauth2/server/authorization/oauth2-authorization-schema.sql" and therefore MUST be defined in the database schema.

NOTE: This OAuth2AuthorizationService is a simplified JDBC implementation that MAY be used in a production environment. However, it does have limitations as it likely won't perform well in an environment requiring high throughput. The expectation is that the consuming application will provide their own implementation of OAuth2AuthorizationService that meets the performance requirements for its deployment environment.

Since:
0.1.2
See Also: