| | |
| | | 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; |
| | |
| | | } |
| | | |
| | | @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); |