58
58
import org .springframework .security .authorization .ObservationReactiveAuthorizationManager ;
59
59
import org .springframework .security .authorization .ReactiveAuthorizationManager ;
60
60
import org .springframework .security .config .Customizer ;
61
- import org .springframework .security .config .annotation .web .configurers .oauth2 .client .OidcLogoutConfigurer ;
62
61
import org .springframework .security .core .Authentication ;
63
62
import org .springframework .security .core .GrantedAuthority ;
64
63
import org .springframework .security .core .authority .AuthorityUtils ;
@@ -5536,8 +5535,7 @@ private ServerLogoutHandler logoutHandler() {
5536
5535
* that the scheme, server name, or port in the {@code Host} header are
5537
5536
* different from how you would address the same server internally.
5538
5537
* @param logoutUri the URI to request logout on the back-channel
5539
- * @return the {@link OidcLogoutConfigurer.BackChannelLogoutConfigurer} for
5540
- * further customizations
5538
+ * @return the {@link BackChannelLogoutConfigurer} for further customizations
5541
5539
* @since 6.2.4
5542
5540
* @deprecated Please use {@link #sessionLogout} instead
5543
5541
*/
@@ -5610,8 +5608,7 @@ public BackChannelLogoutConfigurer logoutUri(String logoutUri) {
5610
5608
* </pre>
5611
5609
* @param sessionLogout a {@link Customizer} for configuring how to log out of
5612
5610
* each individual session
5613
- * @return {@link OidcLogoutConfigurer.BackChannelLogoutConfigurer} for
5614
- * further customizations
5611
+ * @return {@link BackChannelLogoutConfigurer} for further customizations
5615
5612
* @since 6.4
5616
5613
*/
5617
5614
public BackChannelLogoutConfigurer sessionLogout (Customizer <SessionLogoutConfigurer > sessionLogout ) {
@@ -5670,7 +5667,7 @@ public Mono<Void> logout(WebFilterExchange exchange, Authentication authenticati
5670
5667
*/
5671
5668
public final class SessionLogoutConfigurer {
5672
5669
5673
- private String logoutUri = "{baseScheme}://localhost{basePort }/logout/connect/back-channel/{registrationId}" ;
5670
+ private String logoutUri = "{baseUrl }/logout/connect/back-channel/{registrationId}" ;
5674
5671
5675
5672
private String cookieName = "SESSION" ;
5676
5673
@@ -5696,9 +5693,7 @@ private SessionLogoutConfigurer() {
5696
5693
* different logout endpoint, like the Spring Security logout endpoint:
5697
5694
* {@code {baseScheme}://localhost{basePort}/logout}.
5698
5695
* @param uri the URI to invoke to log out specific sessions
5699
- * @return the
5700
- * {@link OidcLogoutConfigurer.BackChannelLogoutConfigurer.SessionLogoutConfigurer}
5701
- * for further customizations
5696
+ * @return the {@link SessionLogoutConfigurer} for further customizations
5702
5697
*/
5703
5698
public SessionLogoutConfigurer uri (String uri ) {
5704
5699
this .logoutUri = uri ;
@@ -5715,9 +5710,7 @@ public SessionLogoutConfigurer uri(String uri) {
5715
5710
* <p>
5716
5711
* When using Spring Session, you may need to set this to {@code SESSION}
5717
5712
* @param cookieName the cookie name to use
5718
- * @return the
5719
- * {@link OidcLogoutConfigurer.BackChannelLogoutConfigurer.SessionLogoutConfigurer}
5720
- * for further customizations
5713
+ * @return the {@link SessionLogoutConfigurer} for further customizations
5721
5714
*/
5722
5715
public SessionLogoutConfigurer cookieName (String cookieName ) {
5723
5716
this .cookieName = cookieName ;
0 commit comments