diff --git a/pom.xml b/pom.xml index a2b12f9..fc61484 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ org.gcube.distribution gcube-smartgears-bom - 3.0.1-SNAPSHOT + 4.0.0 pom import diff --git a/src/main/java/org/gcube/resourcemanagement/whnmanager/ContextManager.java b/src/main/java/org/gcube/resourcemanagement/whnmanager/ContextManager.java index ec255d2..7491d23 100644 --- a/src/main/java/org/gcube/resourcemanagement/whnmanager/ContextManager.java +++ b/src/main/java/org/gcube/resourcemanagement/whnmanager/ContextManager.java @@ -11,6 +11,7 @@ import org.gcube.common.keycloak.KeycloakClient; import org.gcube.common.keycloak.KeycloakClientFactory; import org.gcube.common.keycloak.model.ModelUtils; import org.gcube.common.keycloak.model.TokenResponse; +import org.gcube.common.security.factories.AuthorizationProvider; import org.gcube.common.security.providers.SecretManagerProvider; import org.gcube.common.security.secrets.Secret; import org.gcube.event.publisher.AbstractHTTPWithJWTTokenAuthEventSender; @@ -22,7 +23,6 @@ import org.gcube.resourcemanagement.whnmanager.utils.ValidationUtils; import org.gcube.smartgears.ContextProvider; import org.gcube.smartgears.context.application.ApplicationContext; import org.gcube.smartgears.managers.ContextEvents; -import org.gcube.smartgears.security.AuthorizationProvider; import org.gcube.smartgears.security.SimpleCredentials; import org.gcube.smartgears.utils.InnerMethodName; import org.json.simple.JSONObject; diff --git a/src/test/java/org/gcube/resourcemanagement/whnmanager/ContextManagerIntegrationTest.java b/src/test/java/org/gcube/resourcemanagement/whnmanager/ContextManagerIntegrationTest.java index ba894ed..ba8a32c 100644 --- a/src/test/java/org/gcube/resourcemanagement/whnmanager/ContextManagerIntegrationTest.java +++ b/src/test/java/org/gcube/resourcemanagement/whnmanager/ContextManagerIntegrationTest.java @@ -17,6 +17,7 @@ import jakarta.ws.rs.core.Response.Status; import org.gcube.common.events.Hub; import org.gcube.common.security.credentials.Credentials; +import org.gcube.common.security.factories.AuthorizationProvider; import org.gcube.common.security.secrets.Secret; import org.gcube.smartgears.ContextProvider; import org.gcube.smartgears.configuration.application.ApplicationConfiguration; @@ -25,7 +26,6 @@ import org.gcube.smartgears.context.application.ApplicationContext; import org.gcube.smartgears.context.container.ContainerContext; import org.gcube.smartgears.lifecycle.application.ApplicationLifecycle; import org.gcube.smartgears.persistence.PersistenceWriter; -import org.gcube.smartgears.security.AuthorizationProvider; import org.gcube.smartgears.security.secrets.SecretFactory; import org.glassfish.jersey.server.ResourceConfig; import org.glassfish.jersey.test.JerseyTest;