parent
c1f94156f9
commit
5f79fdd3eb
|
@ -748,7 +748,7 @@ public class ServerHttpSecurity {
|
|||
}
|
||||
|
||||
public LogoutSpec requiresLogout(ServerWebExchangeMatcher requiresLogout) {
|
||||
this.logoutWebFilter.setRequiresLogout(requiresLogout);
|
||||
this.logoutWebFilter.setRequiresLogoutMatcher(requiresLogout);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
@ -90,8 +90,8 @@ public class LogoutWebFilter implements WebFilter {
|
|||
this.logoutHandler = logoutHandler;
|
||||
}
|
||||
|
||||
public void setRequiresLogout(ServerWebExchangeMatcher serverWebExchangeMatcher) {
|
||||
Assert.notNull(serverWebExchangeMatcher, "serverWebExchangeMatcher must not be null");
|
||||
this.requiresLogout = serverWebExchangeMatcher;
|
||||
public void setRequiresLogoutMatcher(ServerWebExchangeMatcher requiresLogoutMatcher) {
|
||||
Assert.notNull(requiresLogoutMatcher, "requiresLogoutMatcher must not be null");
|
||||
this.requiresLogout = requiresLogoutMatcher;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue