org.ldaptive.props
Class AuthenticatorPropertySource

java.lang.Object
  extended by org.ldaptive.props.AbstractPropertySource<Authenticator>
      extended by org.ldaptive.props.AuthenticatorPropertySource
All Implemented Interfaces:
PropertySource<Authenticator>

public final class AuthenticatorPropertySource
extends AbstractPropertySource<Authenticator>

Reads properties specific to Authenticator and returns an initialized object of that type.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ldaptive.props.PropertySource
PropertySource.PropertyDomain
 
Field Summary
 
Fields inherited from class org.ldaptive.props.AbstractPropertySource
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain
 
Constructor Summary
AuthenticatorPropertySource(Authenticator a)
          Creates a new authenticator property source using the default properties file.
AuthenticatorPropertySource(Authenticator a, Properties props)
          Creates a new authenticator property source.
AuthenticatorPropertySource(Authenticator a, PropertySource.PropertyDomain domain, Properties props)
          Creates a new authenticator property source.
AuthenticatorPropertySource(Authenticator a, Reader... readers)
          Creates a new authenticator property source.
AuthenticatorPropertySource(Authenticator a, String... paths)
          Creates a new authenticator property source.
 
Method Summary
static Set<String> getProperties()
          Returns the property names for this property source.
 void initialize()
          Initializes the object for this property source.
 
Methods inherited from class org.ldaptive.props.AbstractPropertySource
initializeObject, loadProperties, loadProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticatorPropertySource

public AuthenticatorPropertySource(Authenticator a)
Creates a new authenticator property source using the default properties file.

Parameters:
a - authenticator to set properties on

AuthenticatorPropertySource

public AuthenticatorPropertySource(Authenticator a,
                                   String... paths)
Creates a new authenticator property source.

Parameters:
a - authenticator to set properties on
paths - to read properties from

AuthenticatorPropertySource

public AuthenticatorPropertySource(Authenticator a,
                                   Reader... readers)
Creates a new authenticator property source.

Parameters:
a - authenticator to set properties on
readers - to read properties from

AuthenticatorPropertySource

public AuthenticatorPropertySource(Authenticator a,
                                   Properties props)
Creates a new authenticator property source.

Parameters:
a - authenticator to set properties on
props - to read properties from

AuthenticatorPropertySource

public AuthenticatorPropertySource(Authenticator a,
                                   PropertySource.PropertyDomain domain,
                                   Properties props)
Creates a new authenticator property source.

Parameters:
a - authenticator to set properties on
domain - that properties are in
props - to read properties from
Method Detail

initialize

public void initialize()
Initializes the object for this property source.


getProperties

public static Set<String> getProperties()
Returns the property names for this property source.

Returns:
all property names


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.