Bläddra i källkod

Polish gh-8906

Joe Grandja 5 år sedan
förälder
incheckning
73e550a867

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

@@ -132,7 +132,7 @@ public final class OidcClientInitiatedLogoutSuccessHandler extends SimpleUrlLogo
 	 * placeholder, for example:
 	 *
 	 * <pre>
-	 * 	handler.setPostLogoutRedirectUriTemplate("{baseUrl}");
+	 * 	handler.setPostLogoutRedirectUri("{baseUrl}");
 	 * </pre>
 	 *
 	 * will make so that {@code post_logout_redirect_uri} will be set to the base url for the client

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

@@ -150,7 +150,7 @@ public class OidcClientInitiatedServerLogoutSuccessHandler
 	 * placeholder, for example:
 	 *
 	 * <pre>
-	 * 	handler.setPostLogoutRedirectUriTemplate("{baseUrl}");
+	 * 	handler.setPostLogoutRedirectUri("{baseUrl}");
 	 * </pre>
 	 *
 	 * will make so that {@code post_logout_redirect_uri} will be set to the base url for the client

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

@@ -112,7 +112,7 @@ public class WebClientReactiveAuthorizationCodeTokenResponseClientTests {
 //		this.exception.expect(IllegalArgumentException.class);
 //
 //		String redirectUri = "http:\\example.com";
-//		when(this.clientRegistration.getRedirectUriTemplate()).thenReturn(redirectUri);
+//		when(this.clientRegistration.getRedirectUri()).thenReturn(redirectUri);
 //
 //		this.tokenResponseClient.getTokenResponse(
 //				new OAuth2AuthorizationCodeGrantRequest(this.clientRegistration, this.authorizationExchange));