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

github-actions
2024-06-10 732c2a35f85e78a697eb20f781a9690026413ebd
src/main/java/org/keycloak/protocol/cas/CASLoginProtocol.java
@@ -11,6 +11,7 @@
import org.keycloak.events.EventType;
import org.keycloak.forms.login.LoginFormsProvider;
import org.keycloak.models.*;
import org.keycloak.protocol.ClientData;
import org.keycloak.protocol.LoginProtocol;
import org.keycloak.protocol.cas.endpoints.AbstractValidateEndpoint;
import org.keycloak.protocol.cas.utils.LogoutHelper;
@@ -129,6 +130,16 @@
    }
    @Override
    public ClientData getClientData(AuthenticationSessionModel authSession) {
        return new ClientData(authSession.getRedirectUri(), null, null, null);
    }
    @Override
    public Response sendError(ClientModel clientModel, ClientData clientData, Error error) {
        return null;
    }
    @Override
    public Response backchannelLogout(UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) {
        String logoutUrl = clientSession.getRedirectUri();
        String serviceTicket = clientSession.getNote(CASLoginProtocol.SESSION_SERVICE_TICKET);