Skip to content

Commit 6544119

Browse files
committed
Merge branch '0.4.x' into 1.0.x
2 parents d4a9698 + d52edb8 commit 6544119

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
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: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020-2022 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.
@@ -65,11 +65,17 @@
6565
* {@link JdbcOperations} for {@link OAuth2Authorization} persistence.
6666
*
6767
* <p>
68-
* <b>NOTE:</b> This {@code OAuth2AuthorizationService} depends on the table definition
68+
* <b>IMPORTANT:</b> This {@code OAuth2AuthorizationService} depends on the table definition
6969
* described in
7070
* "classpath:org/springframework/security/oauth2/server/authorization/oauth2-authorization-schema.sql" and
7171
* therefore MUST be defined in the database schema.
7272
*
73+
* <p>
74+
* <b>NOTE:</b> This {@code OAuth2AuthorizationService} is a simplified JDBC implementation that MAY be used in a production environment.
75+
* However, it does have limitations as it likely won't perform well in an environment requiring high throughput.
76+
* The expectation is that the consuming application will provide their own implementation of {@code OAuth2AuthorizationService}
77+
* that meets the performance requirements for its deployment environment.
78+
*
7379
* @author Ovidiu Popa
7480
* @author Joe Grandja
7581
* @since 0.1.2

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020-2022 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.
@@ -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)