git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerCore@15902 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
bbdf48a906
commit
082c7f0bcf
|
@ -5,6 +5,8 @@ import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import org.gcube.application.framework.accesslogger.library.impl.AccessLogger;
|
||||||
|
import org.gcube.application.framework.accesslogger.model.LoginToVreAccessLogEntry;
|
||||||
import org.gcube.application.framework.core.cache.CachesManager;
|
import org.gcube.application.framework.core.cache.CachesManager;
|
||||||
import org.gcube.application.framework.core.security.PortalSecurityManager;
|
import org.gcube.application.framework.core.security.PortalSecurityManager;
|
||||||
import org.gcube.application.framework.core.util.SessionConstants;
|
import org.gcube.application.framework.core.util.SessionConstants;
|
||||||
|
@ -31,6 +33,9 @@ public class ASLSession{
|
||||||
private HashMap<String, Notifier> notifiers;
|
private HashMap<String, Notifier> notifiers;
|
||||||
String scopeName;
|
String scopeName;
|
||||||
|
|
||||||
|
// ACCESS LOGGER
|
||||||
|
AccessLogger accessLogger = AccessLogger.getAccessLogger();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A constructor based on the user and an external ID
|
* A constructor based on the user and an external ID
|
||||||
* @param externalSessionId the external id
|
* @param externalSessionId the external id
|
||||||
|
@ -204,7 +209,10 @@ public class ASLSession{
|
||||||
this.credential = UserCredential.getCredential(username, scope);
|
this.credential = UserCredential.getCredential(username, scope);
|
||||||
innerSession.clear();
|
innerSession.clear();
|
||||||
initializeAttributes();
|
initializeAttributes();
|
||||||
System.out.println("la" + scope);
|
|
||||||
|
// ACCESS LOGGER
|
||||||
|
LoginToVreAccessLogEntry loginEntry = new LoginToVreAccessLogEntry();
|
||||||
|
accessLogger.logEntry(username, scope, loginEntry);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue