diff --git a/src/main/java/io/github/johnjcool/keycloak/broker/cas/CasIdentityProvider.java b/src/main/java/io/github/johnjcool/keycloak/broker/cas/CasIdentityProvider.java index dc060e0..b7d12e7 100644 --- a/src/main/java/io/github/johnjcool/keycloak/broker/cas/CasIdentityProvider.java +++ b/src/main/java/io/github/johnjcool/keycloak/broker/cas/CasIdentityProvider.java @@ -1,6 +1,5 @@ package io.github.johnjcool.keycloak.broker.cas; -import static io.github.johnjcool.keycloak.broker.cas.util.UrlHelper.PROVIDER_PARAMETER_STATE; import static io.github.johnjcool.keycloak.broker.cas.util.UrlHelper.PROVIDER_PARAMETER_TICKET; import static io.github.johnjcool.keycloak.broker.cas.util.UrlHelper.createAuthenticationUrl; import static io.github.johnjcool.keycloak.broker.cas.util.UrlHelper.createLogoutUrl; @@ -8,15 +7,11 @@ import io.github.johnjcool.keycloak.broker.cas.model.ServiceResponse; import io.github.johnjcool.keycloak.broker.cas.model.Success; +import jakarta.ws.rs.CookieParam; import jakarta.ws.rs.GET; import jakarta.ws.rs.Path; import jakarta.ws.rs.QueryParam; -import jakarta.ws.rs.core.Context; -import jakarta.ws.rs.core.HttpHeaders; -import jakarta.ws.rs.core.MediaType; -import jakarta.ws.rs.core.Response; -import jakarta.ws.rs.core.Response.Status; -import jakarta.ws.rs.core.UriInfo; +import jakarta.ws.rs.core.*; import jakarta.xml.bind.JAXBContext; import jakarta.xml.bind.JAXBException; import jakarta.xml.bind.Unmarshaller; @@ -48,6 +43,8 @@ public class CasIdentityProvider extends AbstractIdentityProvider