mirror of https://github.com/jacekkow/keycloak-protocol-cas

Laurent Meunier
2024-06-11 655123c67bbcb1c2e3d56f3b56942d82b430112c
Fix NPE in backchannel logout

fix #108
1 files modified
3 ■■■■ changed files
src/main/java/org/keycloak/protocol/cas/CASLoginProtocol.java 3 ●●●● patch | view | raw | blame | history
src/main/java/org/keycloak/protocol/cas/CASLoginProtocol.java
@@ -137,8 +137,7 @@
            sendSingleLogoutRequest(logoutUrl, serviceTicket);
        }
        ClientModel client = clientSession.getClient();
        new ResourceAdminManager(session).logoutClientSession(realm, client, clientSession).close();
        return Response.ok().build();
        return new ResourceAdminManager(session).logoutClientSession(realm, client, clientSession);
    }
    private void sendSingleLogoutRequest(String logoutUrl, String serviceTicket) {