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

github-actions
2020-12-17 0ec41088c05da71dca382513e71d576206229057
Update to Keycloak 12.0.0
2 files modified
9 ■■■■■ changed files
pom.xml 6 ●●●● patch | view | raw | blame | history
src/main/java/org/keycloak/protocol/cas/CASLoginProtocol.java 3 ●●●● patch | view | raw | blame | history
pom.xml
@@ -22,7 +22,7 @@
    <groupId>org.keycloak</groupId>
    <artifactId>keycloak-protocol-cas</artifactId>
    <version>11.0.3</version>
    <version>12.0.0</version>
    <name>Keycloak CAS Protocol</name>
    <description />
@@ -97,13 +97,13 @@
        <dependency>
            <groupId>org.xmlunit</groupId>
            <artifactId>xmlunit-core</artifactId>
            <version>2.8.0</version>
            <version>2.8.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.jayway.jsonpath</groupId>
            <artifactId>json-path</artifactId>
            <version>2.4.0</version>
            <version>2.5.0</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
src/main/java/org/keycloak/protocol/cas/CASLoginProtocol.java
@@ -121,7 +121,7 @@
    }
    @Override
    public void backchannelLogout(UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) {
    public Response backchannelLogout(UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) {
        String logoutUrl = clientSession.getRedirectUri();
        String serviceTicket = clientSession.getNote(CASLoginProtocol.SESSION_SERVICE_TICKET);
        //check if session is fully authenticated (i.e. serviceValidate has been called)
@@ -130,6 +130,7 @@
        }
        ClientModel client = clientSession.getClient();
        new ResourceAdminManager(session).logoutClientSession(realm, client, clientSession);
        return Response.ok().build();
    }
    private void sendSingleLogoutRequest(String logoutUrl, String serviceTicket) {