|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISessionManager
Defines the behavior for a session manager.
Method Summary | |
---|---|
IDIFSession |
createSession(String sessionID)
Creates a new session. |
IDIFSession |
getSession(String sessionID)
Gets a managed session |
boolean |
isSessionPresent(String sessionID)
Checks if a given session is registered on the framework. |
IDIFSession |
logIn(String sessionID,
String userID,
String password)
Performs the log in of a user with a given id on the framework. |
IDIFSession |
logOut(String sessionID)
Performs the log out of a user with a given id on the framework. |
boolean |
update(IDIFSession session)
Updates an existent session |
Method Detail |
---|
boolean isSessionPresent(String sessionID)
sessionID
- the session id
IDIFSession getSession(String sessionID)
sessionID
-
IDIFSession createSession(String sessionID)
sessionID
- the session id to create
boolean update(IDIFSession session)
session
- the session to update
IDIFSession logIn(String sessionID, String userID, String password) throws AuthenticationManagerException
sessionID
- the session identifieruserID
- the id of the user to log inpassword
- the password for the user
AuthenticationManagerException
- if the authentication manager can't be accessed to validate the user's credentialsIDIFSession logOut(String sessionID)
sessionID
- the session id to log out
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |