org.security.session.manager.impl
Class SessionManagerImpl

Package class diagram package SessionManagerImpl
java.lang.Object
  extended by org.security.session.manager.impl.SessionManagerImpl
All Implemented Interfaces:
SessionManager

public class SessionManagerImpl
extends Object
implements SessionManager

Author:
amedrano

Constructor Summary
SessionManagerImpl(ModuleContext mc, SituationMonitor sc, SessionPublisher publisher)
          constructor
 
Method Summary
 Session getCopyOfUserSession(User usr)
          
 void userAuthenticatedTo(User usr, Device dvc)
          
 void userDeauthenticatedFrom(User usr, Device dvc)
          
 void userLocationChange(User usr, Location loc)
          
 Set<User> validUsersForDevice(Device dvc)
          
 Set<User> validUsersForLocation(Location loc)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionManagerImpl

public SessionManagerImpl(ModuleContext mc,
                          SituationMonitor sc,
                          SessionPublisher publisher)
constructor

Method Detail

userAuthenticatedTo

public void userAuthenticatedTo(User usr,
                                Device dvc)

Specified by:
userAuthenticatedTo in interface SessionManager

userDeauthenticatedFrom

public void userDeauthenticatedFrom(User usr,
                                    Device dvc)

Specified by:
userDeauthenticatedFrom in interface SessionManager

userLocationChange

public void userLocationChange(User usr,
                               Location loc)

Specified by:
userLocationChange in interface SessionManager

validUsersForDevice

public Set<User> validUsersForDevice(Device dvc)

Specified by:
validUsersForDevice in interface SessionManager

validUsersForLocation

public Set<User> validUsersForLocation(Location loc)

Specified by:
validUsersForLocation in interface SessionManager

getCopyOfUserSession

public Session getCopyOfUserSession(User usr)

Specified by:
getCopyOfUserSession in interface SessionManager


Copyright © 2014 universAAL Consortium. All Rights Reserved.