Update to Keycloak 18.0.0
| | |
| | | |
| | | <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 /> |
| | | |
| | |
| | | } |
| | | |
| | | @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); |
| | |
| | | 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; |
| | | } |