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
|
@ -208,12 +208,14 @@ public class ASLSession{
|
||||||
vo += "/" + split[1];
|
vo += "/" + split[1];
|
||||||
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