Class JdbcOAuth2AuthorizationConsentService

java.lang.Object
org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationConsentService
All Implemented Interfaces:
OAuth2AuthorizationConsentService

@ImportRuntimeHints(org.springframework.security.oauth2.server.authorization.JdbcOAuth2AuthorizationConsentService.JdbcOAuth2AuthorizationConsentServiceRuntimeHintsRegistrar.class) public class JdbcOAuth2AuthorizationConsentService extends Object implements OAuth2AuthorizationConsentService
A JDBC implementation of an OAuth2AuthorizationConsentService that uses a JdbcOperations for OAuth2AuthorizationConsent persistence.

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

NOTE: This OAuth2AuthorizationConsentService 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 OAuth2AuthorizationConsentService that meets the performance requirements for its deployment environment.

Since:
0.1.2
See Also: