Rena Tsantouli 2010-01-29 10:19:06 +00:00
parent 9d274dda8f
commit 4cc3eb3e65
1 changed files with 3 additions and 1 deletions

View File

@ -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())