|
||||||||||
| 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
org.nees.metadata.service.NMDSSessionFactory
org.nees.metadata.service.store.AbstractNMDSStoreSessionFactory
Creates a functional NMDSStoreSession.
| Constructor Summary | |
AbstractNMDSStoreSessionFactory()
Create and configure a factory. |
|
AbstractNMDSStoreSessionFactory(AuthenticIdentity id)
Create and configure a factory. |
|
| Method Summary | |
protected abstract CASAdapter |
getCASAdapter()
Implement this to get a CAS adapter for the session |
CASAdminAdapter |
getCASAdminAdapter()
In case you need to modify group membership, this will get you the CAS admin adapter. |
CASPullAdapter |
getCASPullAdapter()
In case you need to muck with CAS, this will get you the CAS pull adapter. |
abstract Session |
newSession()
Get a session for the given user's identity |
void |
releaseSession(Session s)
Optional. |
| Methods inherited from class org.nees.util.sessions.AuthenticatedSessionFactory |
getIdentity, newSession, setIdentity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractNMDSStoreSessionFactory(AuthenticIdentity id)
id - the user idpublic AbstractNMDSStoreSessionFactory()
| Method Detail |
public abstract Session newSession()
throws SessionCreationException
newSession in class SessionFactorySessionCreationExceptionprotected abstract CASAdapter getCASAdapter()
public CASPullAdapter getCASPullAdapter()
public CASAdminAdapter getCASAdminAdapter()
public void releaseSession(Session s)
SessionFactory
releaseSession in class SessionFactorys - the session to release
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||