Package org.ldaptive.props
Class SimpleBindAuthenticationHandlerPropertySource
- java.lang.Object
-
- org.ldaptive.props.AbstractPropertySource<T>
-
- org.ldaptive.props.AbstractConnectionFactoryManagerPropertySource<SimpleBindAuthenticationHandler>
-
- org.ldaptive.props.SimpleBindAuthenticationHandlerPropertySource
-
- All Implemented Interfaces:
PropertySource<SimpleBindAuthenticationHandler>
public final class SimpleBindAuthenticationHandlerPropertySource extends AbstractConnectionFactoryManagerPropertySource<SimpleBindAuthenticationHandler>
Reads properties specific toSimpleBindAuthenticationHandler
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
Fields Modifier and Type Field Description private static SimpleBindAuthenticationHandlerPropertyInvoker
INVOKER
Invoker for simple bind authentication handler.-
Fields inherited from class org.ldaptive.props.AbstractPropertySource
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain
-
-
Constructor Summary
Constructors Constructor Description SimpleBindAuthenticationHandlerPropertySource(SimpleBindAuthenticationHandler handler)
Creates a new simple bind authentication handler property source using the default properties file.SimpleBindAuthenticationHandlerPropertySource(SimpleBindAuthenticationHandler handler, Reader... readers)
Creates a new simple bind authentication handler property source.SimpleBindAuthenticationHandlerPropertySource(SimpleBindAuthenticationHandler handler, String... paths)
Creates a new simple bind authentication handler property source.SimpleBindAuthenticationHandlerPropertySource(SimpleBindAuthenticationHandler handler, Properties props)
Creates a new simple bind authentication handler property source.SimpleBindAuthenticationHandlerPropertySource(SimpleBindAuthenticationHandler handler, PropertySource.PropertyDomain domain, Properties props)
Creates a new simple bind authentication handler property source.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Field Detail
-
INVOKER
private static final SimpleBindAuthenticationHandlerPropertyInvoker INVOKER
Invoker for simple bind authentication handler.
-
-
Constructor Detail
-
SimpleBindAuthenticationHandlerPropertySource
public SimpleBindAuthenticationHandlerPropertySource(SimpleBindAuthenticationHandler handler)
Creates a new simple bind authentication handler property source using the default properties file.- Parameters:
handler
- simple bind authentication handler to invoke properties on
-
SimpleBindAuthenticationHandlerPropertySource
public SimpleBindAuthenticationHandlerPropertySource(SimpleBindAuthenticationHandler handler, String... paths)
Creates a new simple bind authentication handler property source.- Parameters:
handler
- simple bind authentication handler to invoke properties onpaths
- to read properties from
-
SimpleBindAuthenticationHandlerPropertySource
public SimpleBindAuthenticationHandlerPropertySource(SimpleBindAuthenticationHandler handler, Reader... readers)
Creates a new simple bind authentication handler property source.- Parameters:
handler
- simple bind authentication handler to invoke properties onreaders
- to read properties from
-
SimpleBindAuthenticationHandlerPropertySource
public SimpleBindAuthenticationHandlerPropertySource(SimpleBindAuthenticationHandler handler, Properties props)
Creates a new simple bind authentication handler property source.- Parameters:
handler
- simple bind authentication handler to invoke properties onprops
- to read properties from
-
SimpleBindAuthenticationHandlerPropertySource
public SimpleBindAuthenticationHandlerPropertySource(SimpleBindAuthenticationHandler handler, PropertySource.PropertyDomain domain, Properties props)
Creates a new simple bind authentication handler property source.- Parameters:
handler
- simple bind authentication handler to invoke properties ondomain
- that properties are inprops
- to read properties from
-
-
Method Detail
-
initialize
public void initialize()
Description copied from interface:PropertySource
Initializes the object for this property source.- Specified by:
initialize
in interfacePropertySource<SimpleBindAuthenticationHandler>
- Overrides:
initialize
in classAbstractConnectionFactoryManagerPropertySource<SimpleBindAuthenticationHandler>
-
-