Package | Description |
---|---|
ej.hoka.auth |
Authentication classes to be used with Hoka's
HTTPServer . |
Modifier and Type | Method and Description |
---|---|
Session |
SessionDataAccess.getSessionByID(java.lang.String sessionID)
Retrieves the active session with given session ID.
|
Session |
InMemorySessionDataAccess.getSessionByID(java.lang.String sessionID) |
Session |
SessionDataAccess.getSessionByUser(java.lang.String userID)
Retrieves the active session of the given user.
|
Session |
InMemorySessionDataAccess.getSessionByUser(java.lang.String userID) |
Modifier and Type | Method and Description |
---|---|
void |
SessionDataAccess.addSession(Session newSession)
Adds a new session.
|
void |
InMemorySessionDataAccess.addSession(Session session) |
void |
SessionDataAccess.removeSession(Session newSession)
Removes a session.
|
void |
InMemorySessionDataAccess.removeSession(Session session) |