|
|
|
@ -47,11 +47,17 @@ import org.springframework.util.StringUtils; |
|
|
|
* {@link JdbcOperations} for {@link OAuth2AuthorizationConsent} persistence. |
|
|
|
* {@link JdbcOperations} for {@link OAuth2AuthorizationConsent} persistence. |
|
|
|
* |
|
|
|
* |
|
|
|
* <p> |
|
|
|
* <p> |
|
|
|
* <b>NOTE:</b> This {@code OAuth2AuthorizationConsentService} depends on the table definition |
|
|
|
* <b>IMPORTANT:</b> This {@code OAuth2AuthorizationConsentService} depends on the table definition |
|
|
|
* described in |
|
|
|
* described in |
|
|
|
* "classpath:org/springframework/security/oauth2/server/authorization/oauth2-authorization-consent-schema.sql" and |
|
|
|
* "classpath:org/springframework/security/oauth2/server/authorization/oauth2-authorization-consent-schema.sql" and |
|
|
|
* therefore MUST be defined in the database schema. |
|
|
|
* therefore MUST be defined in the database schema. |
|
|
|
* |
|
|
|
* |
|
|
|
|
|
|
|
* <p> |
|
|
|
|
|
|
|
* <b>NOTE:</b> This {@code 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 {@code OAuth2AuthorizationConsentService} |
|
|
|
|
|
|
|
* that meets the performance requirements for its deployment environment. |
|
|
|
|
|
|
|
* |
|
|
|
* @author Ovidiu Popa |
|
|
|
* @author Ovidiu Popa |
|
|
|
* @author Josh Long |
|
|
|
* @author Josh Long |
|
|
|
* @since 0.1.2 |
|
|
|
* @since 0.1.2 |
|
|
|
|