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

Gabriel Landais
2022-04-22 d5f868839f07638596a8da48d5b42c083108b121
Update to Keycloak 18.0.0

3 files modified
6 ■■■■ changed files
pom.xml 2 ●●● patch | view | raw | blame | history
src/main/java/org/keycloak/protocol/cas/CASLoginProtocol.java 2 ●●● patch | view | raw | blame | history
src/main/java/org/keycloak/protocol/cas/endpoints/LogoutEndpoint.java 2 ●●● patch | view | raw | blame | history
pom.xml
@@ -22,7 +22,7 @@
    <groupId>org.keycloak</groupId>
    <artifactId>keycloak-protocol-cas</artifactId>
    <version>17.0.1</version>
    <version>18.0.0</version>
    <name>Keycloak CAS Protocol</name>
    <description />
src/main/java/org/keycloak/protocol/cas/CASLoginProtocol.java
@@ -159,7 +159,7 @@
    }
    @Override
    public Response finishLogout(UserSessionModel userSession) {
    public Response finishBrowserLogout(UserSessionModel userSession, AuthenticationSessionModel logoutSession) {
        String redirectUri = userSession.getNote(CASLoginProtocol.LOGOUT_REDIRECT_URI);
        event.event(EventType.LOGOUT);
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;
        }