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

github-actions
2022-12-14 9ee7bfcf423cd130633d3aa17f161acd1c7718da
src/main/java/org/keycloak/protocol/cas/endpoints/LogoutEndpoint.java
@@ -58,7 +58,7 @@
            if (redirectUri != null) userSession.setNote(CASLoginProtocol.LOGOUT_REDIRECT_URI, redirectUri);
            logger.debug("Initiating CAS browser logout");
            Response response =  AuthenticationManager.browserLogout(session, realm, authResult.getSession(), session.getContext().getUri(), clientConnection, headers, null);
            Response response =  AuthenticationManager.browserLogout(session, realm, authResult.getSession(), session.getContext().getUri(), clientConnection, headers);
            logger.debug("finishing CAS browser logout");
            return response;
        }
@@ -70,7 +70,7 @@
            return;
        }
        client = realm.getClients().stream()
        client = realm.getClientsStream()
                .filter(c -> CASLoginProtocol.LOGIN_PROTOCOL.equals(c.getProtocol()))
                .filter(c -> RedirectUtils.verifyRedirectUri(session, service, c) != null)
                .findFirst().orElse(null);