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

Laurent Meunier
2024-06-11 b92028de86e6b25a87c12ff34ae00338a455308d
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
@@ -140,8 +140,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) {