com.uwyn.rife.authentication.credentialsmanagers
Class CredentialsManagerFactoryFactory

java.lang.Object
  extended by com.uwyn.rife.authentication.credentialsmanagers.CredentialsManagerFactoryFactory

public abstract class CredentialsManagerFactoryFactory
extends Object

Creates CredentialsManager factories based on configuration options.

Element properties used:

"credentialsmanagerfactory_class"
The name of the class that will be used to instantiate CredentialsManager objects. If not fully qualified, the package name com.uwyn.rife.authentication.credentialsmanagers 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:
DatabaseUsersFactory, MemoryUsersFactory

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

CredentialsManagerFactoryFactory

public CredentialsManagerFactoryFactory()
Method Detail

getInstance

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