Skip to content

Commit 73e550a

Browse files
committed
Polish gh-8906
1 parent 0ed919f commit 73e550a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/oidc/web/logout/OidcClientInitiatedLogoutSuccessHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public void setPostLogoutRedirectUri(URI postLogoutRedirectUri) {
132132
* placeholder, for example:
133133
*
134134
* <pre>
135-
* handler.setPostLogoutRedirectUriTemplate("{baseUrl}");
135+
* handler.setPostLogoutRedirectUri("{baseUrl}");
136136
* </pre>
137137
*
138138
* will make so that {@code post_logout_redirect_uri} will be set to the base url for the client

oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/oidc/web/server/logout/OidcClientInitiatedServerLogoutSuccessHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public void setPostLogoutRedirectUri(URI postLogoutRedirectUri) {
150150
* placeholder, for example:
151151
*
152152
* <pre>
153-
* handler.setPostLogoutRedirectUriTemplate("{baseUrl}");
153+
* handler.setPostLogoutRedirectUri("{baseUrl}");
154154
* </pre>
155155
*
156156
* will make so that {@code post_logout_redirect_uri} will be set to the base url for the client

oauth2/oauth2-client/src/test/java/org/springframework/security/oauth2/client/endpoint/WebClientReactiveAuthorizationCodeTokenResponseClientTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public void getTokenResponseWhenSuccessResponseThenReturnAccessTokenResponse() t
112112
// this.exception.expect(IllegalArgumentException.class);
113113
//
114114
// String redirectUri = "http:\\example.com";
115-
// when(this.clientRegistration.getRedirectUriTemplate()).thenReturn(redirectUri);
115+
// when(this.clientRegistration.getRedirectUri()).thenReturn(redirectUri);
116116
//
117117
// this.tokenResponseClient.getTokenResponse(
118118
// new OAuth2AuthorizationCodeGrantRequest(this.clientRegistration, this.authorizationExchange));

0 commit comments

Comments
 (0)