|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.uwyn.rife.authentication.sessionmanagers.SimpleSessionManagerFactory
public class SimpleSessionManagerFactory
Simple caching session manager factory. This keeps a cache of session manager
instances by name. This is used, for example, to create
MemorySessions objects; it may be used for any session manager that
doesn't require configuration information at startup time.
Element properties used:
com.uwyn.rife.authentication.sessionmanagers
will be assumed.
If you need logic other than a simple "new" for your session managers,
implement SessionManagerFactory instead.
SessionManager,
SessionManagerFactory| Field Summary | |
|---|---|
static String |
PROPERTYNAME_MANAGER_CLASS
Element property that specifies the class name for session managers. |
static String |
PROPERTYNAME_MANAGER_ID
Element property that specifies the ID for a session manager instance. |
| Constructor Summary | |
|---|---|
SimpleSessionManagerFactory()
|
|
| Method Summary | |
|---|---|
SessionManager |
getManager(HierarchicalProperties properties)
Returns the manager specified by properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTYNAME_MANAGER_ID
public static final String PROPERTYNAME_MANAGER_CLASS
| Constructor Detail |
|---|
public SimpleSessionManagerFactory()
| Method Detail |
|---|
public SessionManager getManager(HierarchicalProperties properties)
throws PropertyValueException
SessionManagerFactoryThe specific properties that are used are determined by the implementation class.
getManager in interface SessionManagerFactoryproperties - the properties that will setup the manager
PropertyValueException - when an error occurred during the retrieval
of the property values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||