com.uwyn.rife.authentication.sessionmanagers
Class SessionManagerFactoryFactory
java.lang.Object
com.uwyn.rife.authentication.sessionmanagers.SessionManagerFactoryFactory
public abstract class SessionManagerFactoryFactory
- extends Object
Creates SessionManager factories based on configuration options.
Element properties used:
- "sessionmanagerfactory_class"
- The name of the class that will be used to instantiate SessionManager
objects. If not fully qualified, the package name
com.uwyn.rife.authentication.sessionmanagers will be
assumed.
- Since:
- 1.6
- Version:
- $Revision: $
- Author:
- Steven Grimm (koreth[remove] at midwinter dot com), Geert Bevin (gbevin[remove] at uwyn dot com)
- See Also:
SessionManagerFactory,
SimpleSessionManagerFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTYNAME_FACTORY_CLASS
public static final String PROPERTYNAME_FACTORY_CLASS
- Name of the element property that controls the factory class to instantiate.
- See Also:
- Constant Field Values
SessionManagerFactoryFactory
public SessionManagerFactoryFactory()
getInstance
public static SessionManagerFactory getInstance(HierarchicalProperties properties)
throws PropertyValueException
- Returns a
SessionManagerFactory instance.
- Parameters:
properties - the properties that will setup the manager
- Throws:
PropertyValueException - when an error occurred during the retrieval
of the property values- Since:
- 1.6
getManager
public static SessionManager getManager(HierarchicalProperties properties)
throws PropertyValueException
- Returns a
SessionManager instance using the configured factory.
- Parameters:
properties - the properties that will setup the manager
- Throws:
PropertyValueException - when an error occurred during the retrieval
of the property values- Since:
- 1.6
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.