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,11 +209,13 @@ public class ASLSession{
System.out.println("*** VRE to be set:" + vo + " ***"); System.out.println("*** VRE to be set:" + vo + " ***");
System.out.println("GCube scope returns: " + GCUBEScope.getScope(vo)); System.out.println("GCube scope returns: " + GCUBEScope.getScope(vo));
this.scope = GCUBEScope.getScope(vo); this.scope = GCUBEScope.getScope(vo);
String previousScopeName = scopeName;
scopeName = vo; scopeName = vo;
System.out.println("la" + scope); System.out.println("la" + scope);
if(new PortalSecurityManager(this.scope).isSecurityEnabled()) if(new PortalSecurityManager(this.scope).isSecurityEnabled())
this.credential = UserCredential.getCredential(username, scope); this.credential = UserCredential.getCredential(username, scope);
innerSession.clear(); if (previousScopeName != null && !previousScopeName.equals(scopeName))
innerSession.clear();
initializeAttributes(); initializeAttributes();
// ACCESS LOGGER // ACCESS LOGGER