refactor(security): simplify logout method parameters
This commit is contained in:
parent
5e7e8cd354
commit
37ab14d33e
@ -25,10 +25,10 @@ public class KeycloakLogoutHandler implements LogoutHandler {
|
||||
|
||||
@Override
|
||||
public void logout(HttpServletRequest request, HttpServletResponse response, Authentication auth) {
|
||||
logout(request, auth);
|
||||
logout(auth);
|
||||
}
|
||||
|
||||
public void logout(HttpServletRequest request, Authentication auth) {
|
||||
public void logout(Authentication auth) {
|
||||
logoutFromKeycloak((OidcUser) auth.getPrincipal());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user