mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-05 18:22:26 +00:00
requiresLogoutMatcher naming polish
Issue: gh-4822
This commit is contained in:
parent
c1f94156f9
commit
5f79fdd3eb
@ -748,7 +748,7 @@ public class ServerHttpSecurity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public LogoutSpec requiresLogout(ServerWebExchangeMatcher requiresLogout) {
|
public LogoutSpec requiresLogout(ServerWebExchangeMatcher requiresLogout) {
|
||||||
this.logoutWebFilter.setRequiresLogout(requiresLogout);
|
this.logoutWebFilter.setRequiresLogoutMatcher(requiresLogout);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -90,8 +90,8 @@ public class LogoutWebFilter implements WebFilter {
|
|||||||
this.logoutHandler = logoutHandler;
|
this.logoutHandler = logoutHandler;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setRequiresLogout(ServerWebExchangeMatcher serverWebExchangeMatcher) {
|
public void setRequiresLogoutMatcher(ServerWebExchangeMatcher requiresLogoutMatcher) {
|
||||||
Assert.notNull(serverWebExchangeMatcher, "serverWebExchangeMatcher must not be null");
|
Assert.notNull(requiresLogoutMatcher, "requiresLogoutMatcher must not be null");
|
||||||
this.requiresLogout = serverWebExchangeMatcher;
|
this.requiresLogout = requiresLogoutMatcher;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user