Package org.ldaptive.props
Class CompareAuthenticationHandlerPropertySource
java.lang.Object
org.ldaptive.props.AbstractPropertySource<T>
org.ldaptive.props.AbstractConnectionFactoryManagerPropertySource<CompareAuthenticationHandler>
org.ldaptive.props.CompareAuthenticationHandlerPropertySource
- All Implemented Interfaces:
PropertySource<CompareAuthenticationHandler>
public final class CompareAuthenticationHandlerPropertySource
extends AbstractConnectionFactoryManagerPropertySource<CompareAuthenticationHandler>
Reads properties specific to
CompareAuthenticationHandler
and returns an initialized object of that type.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ldaptive.props.PropertySource
PropertySource.PropertyDomain
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final CompareAuthenticationHandlerPropertyInvoker
Invoker for compare authentication handler.Fields inherited from class org.ldaptive.props.AbstractPropertySource
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new compare authentication handler property source using the default properties file.CompareAuthenticationHandlerPropertySource
(CompareAuthenticationHandler handler, Reader... readers) Creates a new compare authentication handler property source.CompareAuthenticationHandlerPropertySource
(CompareAuthenticationHandler handler, String... paths) Creates a new compare authentication handler property source.Creates a new compare authentication handler property source.CompareAuthenticationHandlerPropertySource
(CompareAuthenticationHandler handler, PropertySource.PropertyDomain domain, Properties props) Creates a new compare authentication handler property source. -
Method Summary
Modifier and TypeMethodDescriptionReturns the property names for this property source.void
Initializes the object for this property source.Methods inherited from class org.ldaptive.props.AbstractPropertySource
initializeObject, loadProperties, loadProperties
-
Field Details
-
INVOKER
Invoker for compare authentication handler.
-
-
Constructor Details
-
CompareAuthenticationHandlerPropertySource
Creates a new compare authentication handler property source using the default properties file.- Parameters:
handler
- compare authentication handler to invoke properties on
-
CompareAuthenticationHandlerPropertySource
public CompareAuthenticationHandlerPropertySource(CompareAuthenticationHandler handler, String... paths) Creates a new compare authentication handler property source.- Parameters:
handler
- compare authentication handler to invoke properties onpaths
- to read properties from
-
CompareAuthenticationHandlerPropertySource
public CompareAuthenticationHandlerPropertySource(CompareAuthenticationHandler handler, Reader... readers) Creates a new compare authentication handler property source.- Parameters:
handler
- compare authentication handler to invoke properties onreaders
- to read properties from
-
CompareAuthenticationHandlerPropertySource
public CompareAuthenticationHandlerPropertySource(CompareAuthenticationHandler handler, Properties props) Creates a new compare authentication handler property source.- Parameters:
handler
- compare authentication handler to invoke properties onprops
- to read properties from
-
CompareAuthenticationHandlerPropertySource
public CompareAuthenticationHandlerPropertySource(CompareAuthenticationHandler handler, PropertySource.PropertyDomain domain, Properties props) Creates a new compare authentication handler property source.- Parameters:
handler
- compare authentication handler to invoke properties ondomain
- that properties are inprops
- to read properties from
-
-
Method Details
-
initialize
public void initialize()Description copied from interface:PropertySource
Initializes the object for this property source.- Specified by:
initialize
in interfacePropertySource<CompareAuthenticationHandler>
- Overrides:
initialize
in classAbstractConnectionFactoryManagerPropertySource<CompareAuthenticationHandler>
-
getProperties
Returns the property names for this property source.- Returns:
- all property names
-