git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerCore@24559 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
fd305a6f1b
commit
b0fbf2a317
|
@ -25,7 +25,7 @@ public class SessionManager {
|
||||||
public ASLSession getASLSession(String externalSessionID, String username)
|
public ASLSession getASLSession(String externalSessionID, String username)
|
||||||
{
|
{
|
||||||
ASLSession session = sessions.get(externalSessionID + "_" + username);
|
ASLSession session = sessions.get(externalSessionID + "_" + username);
|
||||||
if(session == null || !session.isValid() || !session.getUsername().equals(username))
|
if(session == null /*|| !session.isValid() */ || !session.getUsername().equals(username))
|
||||||
{
|
{
|
||||||
session = new ASLSession(externalSessionID, username);
|
session = new ASLSession(externalSessionID, username);
|
||||||
sessions.put(externalSessionID + "_" + username, session);
|
sessions.put(externalSessionID + "_" + username, session);
|
||||||
|
|
Loading…
Reference in New Issue