diff --git a/pom.xml b/pom.xml index 729f645..e18c166 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ org.gcube.core common-scope - [2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT) + [1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT) org.gcube.core diff --git a/src/test/java/org/gcube/common/authorization/library/binder/AuthorizationEntryBinder.java b/src/test/java/org/gcube/common/authorization/library/binder/AuthorizationEntryBinder.java index 780f993..8095ad7 100644 --- a/src/test/java/org/gcube/common/authorization/library/binder/AuthorizationEntryBinder.java +++ b/src/test/java/org/gcube/common/authorization/library/binder/AuthorizationEntryBinder.java @@ -12,7 +12,6 @@ import javax.xml.bind.JAXBException; import org.gcube.common.authorization.library.AuthorizationEntry; import org.gcube.common.authorization.library.policies.Policy; import org.gcube.common.authorization.library.provider.UserInfo; -import org.gcube.common.scope.impl.DefaultServiceMap; import org.junit.Assert; import org.junit.Test; @@ -29,7 +28,7 @@ public class AuthorizationEntryBinder { AuthorizationEntry ae1 = new AuthorizationEntry(new UserInfo("lucio.lelii", new ArrayList()), "scope", new ArrayList(), "TOKEN"); Map services = new HashMap(); services.put("service", "endpoint"); - ae1.setMap(new DefaultServiceMap("scope","versione", services )); + //ae1.setMap(new DefaultServiceMap("scope","versione", services )); context.createMarshaller().marshal(ae1, sw); System.out.println(sw.toString()); AuthorizationEntry ae2 = (AuthorizationEntry)context.createUnmarshaller().unmarshal(new StringReader(sw.toString()));