Projet

Général

Profil

« Précédent | Suivant » 

Révision 675e977d

Ajouté par Remy Menard il y a presque 11 ans

  • ID 675e977d6baa946d508d77b8721408cbe9155a8e
  • Parent 8fd1d584

Version 2.1

  • All:
    - a few bugs fixed!
  • DELTa:
    - uses the new DS events
  • EpcisPHI, DiscoveryPHI:
    - improves the session management
    - the account creation by the web interface adds access policies to
    the interface ("admin" policies), this is always done even if a
    corresponding account exists in the LDAP directory
  • YPSilon:
    - simplifies the service
  • Installer:
    - upgrades Apache Tomcat to 7.0.42

Voir les différences:

ETa/EpcisPHI/src/main/java/fr/unicaen/iota/epcisphi/utils/MapSessions.java
}
public static HashMap<String, InterfaceHelper> APMSessions = new HashMap<String, InterfaceHelper>();
public static synchronized InterfaceHelper getAPMSession(String sessionId, String ownerId) {
if (APMSessions.containsKey(sessionId)) {
return APMSessions.get(sessionId);
public static synchronized InterfaceHelper getAPMSession(String userId, String ownerId) {
if (APMSessions.containsKey(userId)) {
return APMSessions.get(userId);
} else {
InterfaceHelper IH = new InterfaceHelper(ownerId);
APMSessions.put(sessionId, IH);
APMSessions.put(userId, IH);
return IH;
}
}
public static synchronized void releaseSession(String sessionId) {
APMSessions.remove(sessionId);
public static synchronized void releaseSession(String userId) {
APMSessions.remove(userId);
}
public static synchronized void init() {

Formats disponibles : Unified diff