git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerCore@29047 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
4bada34581
commit
b7c353597a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue