|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nees.util.sessions.SessionFactory
org.nees.util.sessions.AuthenticatedSessionFactory
Creates authenticated sessions for a user with a given identity.
| Constructor Summary | |
AuthenticatedSessionFactory()
Don't specify the user identity yet. |
|
AuthenticatedSessionFactory(AuthenticIdentity id)
|
|
| Method Summary | |
AuthenticIdentity |
getIdentity()
|
Session |
newSession(AuthenticIdentity id)
Set the identity and return a sesssion. |
void |
setIdentity(AuthenticIdentity id)
Set the user identity |
| Methods inherited from class org.nees.util.sessions.SessionFactory |
newSession, releaseSession |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AuthenticatedSessionFactory()
public AuthenticatedSessionFactory(AuthenticIdentity id)
id - the user's identity| Method Detail |
public void setIdentity(AuthenticIdentity id)
public AuthenticIdentity getIdentity()
public Session newSession(AuthenticIdentity id)
throws SessionCreationException
SessionCreationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||