diff --git a/.classpath b/.classpath
index 20fcaa8..b5b3789 100644
--- a/.classpath
+++ b/.classpath
@@ -15,6 +15,7 @@
+
diff --git a/.project b/.project
index dcd9f38..d2f84f5 100644
--- a/.project
+++ b/.project
@@ -5,11 +5,21 @@
+
+ org.eclipse.wst.common.project.facet.core.builder
+
+
+
org.eclipse.jdt.core.javabuilder
+
+ org.eclipse.wst.validation.validationbuilder
+
+
+
org.eclipse.m2e.core.maven2Builder
@@ -17,7 +27,10 @@
+ org.eclipse.jem.workbench.JavaEMFNature
+ org.eclipse.wst.common.modulecore.ModuleCoreNature
org.eclipse.jdt.core.javanature
org.eclipse.m2e.core.maven2Nature
+ org.eclipse.wst.common.project.facet.core.nature
diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs
index 60105c1..69c31cd 100644
--- a/.settings/org.eclipse.jdt.core.prefs
+++ b/.settings/org.eclipse.jdt.core.prefs
@@ -1,5 +1,8 @@
eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.6
diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component
new file mode 100644
index 0000000..9748a29
--- /dev/null
+++ b/.settings/org.eclipse.wst.common.component
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/.settings/org.eclipse.wst.common.project.facet.core.xml b/.settings/org.eclipse.wst.common.project.facet.core.xml
new file mode 100644
index 0000000..c78d932
--- /dev/null
+++ b/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/.settings/org.eclipse.wst.validation.prefs b/.settings/org.eclipse.wst.validation.prefs
new file mode 100644
index 0000000..04cad8c
--- /dev/null
+++ b/.settings/org.eclipse.wst.validation.prefs
@@ -0,0 +1,2 @@
+disabled=06target
+eclipse.preferences.version=1
diff --git a/distro/changelog.xml b/distro/changelog.xml
index f0bc8ca..56450ec 100644
--- a/distro/changelog.xml
+++ b/distro/changelog.xml
@@ -1,6 +1,6 @@
-
date="2013-10-19">
First Release
diff --git a/src/main/java/org/gcube/common/portal/PortalContext.java b/src/main/java/org/gcube/common/portal/PortalContext.java
index ef3ac7c..f8d3c82 100644
--- a/src/main/java/org/gcube/common/portal/PortalContext.java
+++ b/src/main/java/org/gcube/common/portal/PortalContext.java
@@ -41,8 +41,7 @@ public class PortalContext {
public synchronized static PortalContext getConfiguration() {
return singleton == null ? new PortalContext() : singleton;
}
-
-
+
private void initialize() {
Properties props = new Properties();
try {
@@ -60,11 +59,24 @@ public class PortalContext {
}
_log.info("PortalContext configurator correctly initialized on " + infra);
}
-
+ /**
+ *
+ * @return the infrastructure name in which your client runs
+ */
public String getInfrastructureName() {
return this.infra;
}
-
+ /**
+ *
+ * @return the value of the scopes as it is in the property file (a string with comma separated vales)
+ */
+ public String getVOsAsString() {
+ return this.vos;
+ }
+ /**
+ *
+ * @return the value of the scopes
+ */
public List getVOs() {
List toReturn = new ArrayList();
if (vos == null || vos.equals(""))
@@ -75,7 +87,7 @@ public class PortalContext {
}
return toReturn;
}
- /**
+ /**
*
* @return $CATALINA_HOME
*/