Skip to content

Commit 592510c

Browse files
committed
Update to @SInCE 7.0
Issue gh-17880
1 parent e99ea03 commit 592510c

File tree

200 files changed

+200
-355
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+200
-355
lines changed

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
*
3939
* @author Daniel Garnier-Moiroux
4040
* @author Joe Grandja
41-
* @since 0.1.1
41+
* @since 7.0
4242
* @see OAuth2AuthorizationServerMetadataClaimAccessor
4343
* @see <a target="_blank" href="https://tools.ietf.org/html/rfc8414#section-3.2">3.2.
4444
* Authorization Server Metadata Response</a>
@@ -130,7 +130,6 @@ public B authorizationEndpoint(String authorizationEndpoint) {
130130
* @param pushedAuthorizationRequestEndpoint the {@code URL} of the OAuth 2.0
131131
* Pushed Authorization Request Endpoint
132132
* @return the {@link AbstractBuilder} for further configuration
133-
* @since 1.5
134133
*/
135134
public B pushedAuthorizationRequestEndpoint(String pushedAuthorizationRequestEndpoint) {
136135
return claim(OAuth2AuthorizationServerMetadataClaimNames.PUSHED_AUTHORIZATION_REQUEST_ENDPOINT,
@@ -143,7 +142,6 @@ public B pushedAuthorizationRequestEndpoint(String pushedAuthorizationRequestEnd
143142
* @param deviceAuthorizationEndpoint the {@code URL} of the OAuth 2.0 Device
144143
* Authorization Endpoint
145144
* @return the {@link AbstractBuilder} for further configuration
146-
* @since 1.1
147145
*/
148146
public B deviceAuthorizationEndpoint(String deviceAuthorizationEndpoint) {
149147
return claim(OAuth2AuthorizationServerMetadataClaimNames.DEVICE_AUTHORIZATION_ENDPOINT,
@@ -355,7 +353,6 @@ public B tokenIntrospectionEndpointAuthenticationMethods(Consumer<List<String>>
355353
* @param clientRegistrationEndpoint the {@code URL} of the OAuth 2.0 Dynamic
356354
* Client Registration Endpoint
357355
* @return the {@link AbstractBuilder} for further configuration
358-
* @since 0.4.0
359356
*/
360357
public B clientRegistrationEndpoint(String clientRegistrationEndpoint) {
361358
return claim(OAuth2AuthorizationServerMetadataClaimNames.REGISTRATION_ENDPOINT, clientRegistrationEndpoint);
@@ -394,7 +391,6 @@ public B codeChallengeMethods(Consumer<List<String>> codeChallengeMethodsConsume
394391
* @param tlsClientCertificateBoundAccessTokens {@code true} to indicate support
395392
* for mutual-TLS client certificate-bound access tokens
396393
* @return the {@link AbstractBuilder} for further configuration
397-
* @since 1.3
398394
*/
399395
public B tlsClientCertificateBoundAccessTokens(boolean tlsClientCertificateBoundAccessTokens) {
400396
return claim(OAuth2AuthorizationServerMetadataClaimNames.TLS_CLIENT_CERTIFICATE_BOUND_ACCESS_TOKENS,
@@ -408,7 +404,6 @@ public B tlsClientCertificateBoundAccessTokens(boolean tlsClientCertificateBound
408404
* @param dPoPSigningAlgorithm the {@link JwsAlgorithms JSON Web Signature (JWS)
409405
* algorithm} supported for DPoP Proof JWTs
410406
* @return the {@link AbstractBuilder} for further configuration
411-
* @since 1.5
412407
*/
413408
public B dPoPSigningAlgorithm(String dPoPSigningAlgorithm) {
414409
addClaimToClaimList(OAuth2AuthorizationServerMetadataClaimNames.DPOP_SIGNING_ALG_VALUES_SUPPORTED,
@@ -424,7 +419,6 @@ public B dPoPSigningAlgorithm(String dPoPSigningAlgorithm) {
424419
* {@link JwsAlgorithms JSON Web Signature (JWS) algorithms} supported for DPoP
425420
* Proof JWTs
426421
* @return the {@link AbstractBuilder} for further configuration
427-
* @since 1.5
428422
*/
429423
public B dPoPSigningAlgorithms(Consumer<List<String>> dPoPSigningAlgorithmsConsumer) {
430424
acceptClaimValues(OAuth2AuthorizationServerMetadataClaimNames.DPOP_SIGNING_ALG_VALUES_SUPPORTED,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* <b>NOTE:</b> This implementation should ONLY be used during development/testing.
3535
*
3636
* @author Daniel Garnier-Moiroux
37-
* @since 0.1.2
37+
* @since 7.0
3838
* @see OAuth2AuthorizationConsentService
3939
*/
4040
public final class InMemoryOAuth2AuthorizationConsentService implements OAuth2AuthorizationConsentService {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
*
4343
* @author Krisztian Toth
4444
* @author Joe Grandja
45-
* @since 0.0.1
45+
* @since 7.0
4646
* @see OAuth2AuthorizationService
4747
*/
4848
public final class InMemoryOAuth2AuthorizationService implements OAuth2AuthorizationService {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
*
6464
* @author Ovidiu Popa
6565
* @author Josh Long
66-
* @since 0.1.2
66+
* @since 7.0
6767
* @see OAuth2AuthorizationConsentService
6868
* @see OAuth2AuthorizationConsent
6969
* @see JdbcOperations

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
* @author Ovidiu Popa
9191
* @author Joe Grandja
9292
* @author Josh Long
93-
* @since 0.1.2
93+
* @since 7.0
9494
* @see OAuth2AuthorizationService
9595
* @see OAuth2Authorization
9696
* @see JdbcOperations

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
*
4747
* @author Joe Grandja
4848
* @author Krisztian Toth
49-
* @since 0.0.1
49+
* @since 7.0
5050
* @see RegisteredClient
5151
* @see AuthorizationGrantType
5252
* @see OAuth2Token
@@ -111,7 +111,6 @@ public AuthorizationGrantType getAuthorizationGrantType() {
111111
/**
112112
* Returns the authorized scope(s).
113113
* @return the {@code Set} of authorized scope(s)
114-
* @since 0.4.0
115114
*/
116115
public Set<String> getAuthorizedScopes() {
117116
return this.authorizedScopes;
@@ -244,7 +243,6 @@ public static Builder from(OAuth2Authorization authorization) {
244243
*
245244
* @param <T> the type of the {@link OAuth2Token}
246245
* @author Joe Grandja
247-
* @since 0.1.0
248246
*/
249247
public static class Token<T extends OAuth2Token> implements Serializable {
250248

@@ -436,7 +434,6 @@ public Builder authorizationGrantType(AuthorizationGrantType authorizationGrantT
436434
* Sets the authorized scope(s).
437435
* @param authorizedScopes the {@code Set} of authorized scope(s)
438436
* @return the {@link Builder}
439-
* @since 0.4.0
440437
*/
441438
public Builder authorizedScopes(Set<String> authorizedScopes) {
442439
this.authorizedScopes = authorizedScopes;
@@ -497,7 +494,6 @@ public <T extends OAuth2Token> Builder token(T token, Consumer<Map<String, Objec
497494
* @param token the token
498495
* @param <T> the type of the token
499496
* @return the {@link Builder}
500-
* @since 1.4
501497
*/
502498
public <T extends OAuth2Token> Builder invalidate(T token) {
503499
Assert.notNull(token, "token cannot be null");

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Authorization Code Grant.
2626
*
2727
* @author Joe Grandja
28-
* @since 0.0.3
28+
* @since 7.0
2929
* @see AbstractOAuth2Token
3030
* @see <a target="_blank" href="https://tools.ietf.org/html/rfc6749#section-4.1">Section
3131
* 4.1 Authorization Code Grant</a>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* The resource owner then selects which scopes they grant to the client.
4444
*
4545
* @author Daniel Garnier-Moiroux
46-
* @since 0.1.2
46+
* @since 7.0
4747
*/
4848
public final class OAuth2AuthorizationConsent implements Serializable {
4949

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* {@link OAuth2AuthorizationConsent OAuth 2.0 Authorization Consent(s)}.
2727
*
2828
* @author Daniel Garnier-Moiroux
29-
* @since 0.1.2
29+
* @since 7.0
3030
* @see OAuth2AuthorizationConsent
3131
*/
3232
public interface OAuth2AuthorizationConsentService {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* OAuth 2.0 Authorization Server Metadata specification (RFC 8414).
2929
*
3030
* @author Daniel Garnier-Moiroux
31-
* @since 0.1.1
31+
* @since 7.0
3232
* @see AbstractOAuth2AuthorizationServerMetadata
3333
* @see <a target="_blank" href="https://tools.ietf.org/html/rfc8414#section-3.2">3.2.
3434
* Authorization Server Metadata Response</a>

0 commit comments

Comments
 (0)