Skip to content

Commit e3bf93c

Browse files
committed
Merge branch '1.0.x' into 1.1.x
2 parents 4cb683f + 6544119 commit e3bf93c

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/JdbcOAuth2AuthorizationConsentService.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020-2021 the original author or authors.
2+
* Copyright 2020-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -43,11 +43,17 @@
4343
* {@link JdbcOperations} for {@link OAuth2AuthorizationConsent} persistence.
4444
*
4545
* <p>
46-
* <b>NOTE:</b> This {@code OAuth2AuthorizationConsentService} depends on the table definition
46+
* <b>IMPORTANT:</b> This {@code OAuth2AuthorizationConsentService} depends on the table definition
4747
* described in
4848
* "classpath:org/springframework/security/oauth2/server/authorization/oauth2-authorization-consent-schema.sql" and
4949
* therefore MUST be defined in the database schema.
5050
*
51+
* <p>
52+
* <b>NOTE:</b> This {@code OAuth2AuthorizationConsentService} is a simplified JDBC implementation that MAY be used in a production environment.
53+
* However, it does have limitations as it likely won't perform well in an environment requiring high throughput.
54+
* The expectation is that the consuming application will provide their own implementation of {@code OAuth2AuthorizationConsentService}
55+
* that meets the performance requirements for its deployment environment.
56+
*
5157
* @author Ovidiu Popa
5258
* @since 0.1.2
5359
* @see OAuth2AuthorizationConsentService

oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/JdbcOAuth2AuthorizationService.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,17 @@
6868
* {@link JdbcOperations} for {@link OAuth2Authorization} persistence.
6969
*
7070
* <p>
71-
* <b>NOTE:</b> This {@code OAuth2AuthorizationService} depends on the table definition
71+
* <b>IMPORTANT:</b> This {@code OAuth2AuthorizationService} depends on the table definition
7272
* described in
7373
* "classpath:org/springframework/security/oauth2/server/authorization/oauth2-authorization-schema.sql" and
7474
* therefore MUST be defined in the database schema.
7575
*
76+
* <p>
77+
* <b>NOTE:</b> This {@code OAuth2AuthorizationService} is a simplified JDBC implementation that MAY be used in a production environment.
78+
* However, it does have limitations as it likely won't perform well in an environment requiring high throughput.
79+
* The expectation is that the consuming application will provide their own implementation of {@code OAuth2AuthorizationService}
80+
* that meets the performance requirements for its deployment environment.
81+
*
7682
* @author Ovidiu Popa
7783
* @author Joe Grandja
7884
* @since 0.1.2

oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/client/JdbcRegisteredClientRepository.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,16 @@
5252
* {@link JdbcOperations} for {@link RegisteredClient} persistence.
5353
*
5454
* <p>
55-
* <b>NOTE:</b> This {@code RegisteredClientRepository} depends on the table definition described in
55+
* <b>IMPORTANT:</b> This {@code RegisteredClientRepository} depends on the table definition described in
5656
* "classpath:org/springframework/security/oauth2/server/authorization/client/oauth2-registered-client-schema.sql" and
5757
* therefore MUST be defined in the database schema.
5858
*
59+
* <p>
60+
* <b>NOTE:</b> This {@code RegisteredClientRepository} is a simplified JDBC implementation that MAY be used in a production environment.
61+
* However, it does have limitations as it likely won't perform well in an environment requiring high throughput.
62+
* The expectation is that the consuming application will provide their own implementation of {@code RegisteredClientRepository}
63+
* that meets the performance requirements for its deployment environment.
64+
*
5965
* @author Rafal Lewczuk
6066
* @author Joe Grandja
6167
* @author Ovidiu Popa

0 commit comments

Comments
 (0)