git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerCore@18154 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
9d274dda8f
commit
4cc3eb3e65
|
@ -168,6 +168,7 @@ public class ASLSession{
|
|||
* @return the scope
|
||||
*/
|
||||
public GCUBEScope getScope() {
|
||||
System.out.println("The scope is being returned - username: " + username + " scope: " + scope.getName());
|
||||
return scope;
|
||||
}
|
||||
|
||||
|
@ -196,13 +197,14 @@ public class ASLSession{
|
|||
if (test == null)
|
||||
System.out.println("2");
|
||||
String[] split = scope.trim().substring(1).split("/",2);
|
||||
// Uncomment this and comment the line bellow for devsec
|
||||
// String vo = "/" + split[0].toLowerCase();
|
||||
String vo = "/" + split[0];
|
||||
if(split.length > 1)
|
||||
vo += "/" + split[1];
|
||||
System.out.println("*** VRE to be set:" + vo + " ***");
|
||||
System.out.println("GCube scope returns: " + GCUBEScope.getScope(vo));
|
||||
this.scope = GCUBEScope.getScope(vo);
|
||||
this.scope = GCUBEScope.getScope(vo);
|
||||
scopeName = vo;
|
||||
System.out.println("la" + scope);
|
||||
if(new PortalSecurityManager(this.scope).isSecurityEnabled())
|
||||
|
|
Loading…
Reference in New Issue