com.uwyn.rife.authentication.remembermanagers
Class RememberManagerFactoryFactory

java.lang.Object
  extended by com.uwyn.rife.authentication.remembermanagers.RememberManagerFactoryFactory

public abstract class RememberManagerFactoryFactory
extends Object

Creates RememberManager factories based on configuration options.

Element properties used:

"remembermanagerfactory_class"
The name of the class that will be used to instantiate RememberManager objects. If not fully qualified, the package name com.uwyn.rife.authentication.remembermanagers will be assumed. If not specified at all, no remember manager will be created.

Since:
1.6
Version:
$Revision: $
Author:
Steven Grimm (koreth[remove] at midwinter dot com), Geert Bevin (gbevin[remove] at uwyn dot com)
See Also:
RememberManagerFactory, DatabaseRememberFactory

Field Summary
static String PROPERTYNAME_FACTORY_CLASS
          Name of the element property that controls the factory class to instantiate.
 
Constructor Summary
RememberManagerFactoryFactory()
           
 
Method Summary
static RememberManagerFactory getInstance(HierarchicalProperties properties)
          Returns a RememberManagerFactory instance.
static RememberManager getManager(HierarchicalProperties properties)
          Returns a RememberManager instance using the configured factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

RememberManagerFactoryFactory

public RememberManagerFactoryFactory()
Method Detail

getInstance

public static RememberManagerFactory getInstance(HierarchicalProperties properties)
                                          throws PropertyValueException
Returns a RememberManagerFactory 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 RememberManager getManager(HierarchicalProperties properties)
                                  throws PropertyValueException
Returns a RememberManager 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.