com.uwyn.rife.authentication.sessionvalidators
Class SessionValidatorFactoryFactory

java.lang.Object
  extended by com.uwyn.rife.authentication.sessionvalidators.SessionValidatorFactoryFactory

public abstract class SessionValidatorFactoryFactory
extends Object

Creates SessionValidator factories based on configuration options.

Element properties used:

"sessionvalidatorfactory_class"
The name of the class that will be used to instantiate SessionValidator objects. If not fully qualified, the package name com.uwyn.rife.authentication.sessionvalidators 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:
SimpleSessionValidatorFactory, SimpleSessionValidatorFactory

Field Summary
static String PROPERTYNAME_FACTORY_CLASS
          Name of the element property that controls the factory class to instantiate.
 
Constructor Summary
SessionValidatorFactoryFactory()
           
 
Method Summary
static SessionValidatorFactory getInstance(HierarchicalProperties properties)
          Returns a SessionValidatorFactory instance.
static SessionValidator getValidator(HierarchicalProperties properties)
          Returns a SessionValidator 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

SessionValidatorFactoryFactory

public SessionValidatorFactoryFactory()
Method Detail

getInstance

public static SessionValidatorFactory getInstance(HierarchicalProperties properties)
                                           throws PropertyValueException
Returns a SessionValidatorFactory 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

getValidator

public static SessionValidator getValidator(HierarchicalProperties properties)
                                     throws PropertyValueException
Returns a SessionValidator 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.