Rena Tsantouli 2010-10-21 08:14:47 +00:00
parent 4bada34581
commit b7c353597a
1 changed files with 4 additions and 2 deletions

View File

@ -209,10 +209,12 @@ public class ASLSession{
System.out.println("*** VRE to be set:" + vo + " ***");
System.out.println("GCube scope returns: " + GCUBEScope.getScope(vo));
this.scope = GCUBEScope.getScope(vo);
String previousScopeName = scopeName;
scopeName = vo;
System.out.println("la" + scope);
if(new PortalSecurityManager(this.scope).isSecurityEnabled())
this.credential = UserCredential.getCredential(username, scope);
if (previousScopeName != null && !previousScopeName.equals(scopeName))
innerSession.clear();
initializeAttributes();