refactor(security): simplify logout method parameters
Some checks failed
Quality Check / Tests (pull_request) Successful in 1m3s
Build PR / Build and analyze (pull_request) Successful in 1m59s
gitea-sonarqube-bot ERROR
Quality Check / Checkstyle Main (pull_request) Successful in 46s

This commit is contained in:
Jan Gleytenhoover 2024-10-02 10:23:43 +02:00
parent 5e7e8cd354
commit 37ab14d33e
Signed by: jank
GPG Key ID: B267751B8AE29EFE

@ -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());
}