package org.gcube.applicationsupportlayer.social; import org.gcube.common.scope.impl.ScopeBean; public class ScopeBeanExt extends ScopeBean { public ScopeBeanExt(String scope) throws IllegalArgumentException { super(scope); } /** * * @return the infrastructure scope e.g. /gcube */ public String getInfrastructureScope() { String[] components = name().split(separator); return separator+components[1]; } }