Package org.ldaptive.props
Class AuthenticationRequestPropertySource
- java.lang.Object
-
- org.ldaptive.props.AbstractPropertySource<AuthenticationRequest>
-
- org.ldaptive.props.AuthenticationRequestPropertySource
-
- All Implemented Interfaces:
PropertySource<AuthenticationRequest>
public final class AuthenticationRequestPropertySource extends AbstractPropertySource<AuthenticationRequest>
Reads properties specific toAuthenticationRequest
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 AuthenticationRequestPropertyInvoker
INVOKER
Invoker for authentication request.-
Fields inherited from class org.ldaptive.props.AbstractPropertySource
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain
-
-
Constructor Summary
Constructors Constructor Description AuthenticationRequestPropertySource(AuthenticationRequest request)
Creates a new authentication request property source using the default properties file.AuthenticationRequestPropertySource(AuthenticationRequest request, Reader... readers)
Creates a new authentication request property source.AuthenticationRequestPropertySource(AuthenticationRequest request, String... paths)
Creates a new authentication request property source.AuthenticationRequestPropertySource(AuthenticationRequest request, Properties props)
Creates a new authentication request property source.AuthenticationRequestPropertySource(AuthenticationRequest request, PropertySource.PropertyDomain domain, Properties props)
Creates a new authentication request 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 AuthenticationRequestPropertyInvoker INVOKER
Invoker for authentication request.
-
-
Constructor Detail
-
AuthenticationRequestPropertySource
public AuthenticationRequestPropertySource(AuthenticationRequest request)
Creates a new authentication request property source using the default properties file.- Parameters:
request
- authentication request to set properties on
-
AuthenticationRequestPropertySource
public AuthenticationRequestPropertySource(AuthenticationRequest request, String... paths)
Creates a new authentication request property source.- Parameters:
request
- authentication request to set properties onpaths
- to read properties from
-
AuthenticationRequestPropertySource
public AuthenticationRequestPropertySource(AuthenticationRequest request, Reader... readers)
Creates a new authentication request property source.- Parameters:
request
- authentication request to set properties onreaders
- to read properties from
-
AuthenticationRequestPropertySource
public AuthenticationRequestPropertySource(AuthenticationRequest request, Properties props)
Creates a new authentication request property source.- Parameters:
request
- authentication request to set properties onprops
- to read properties from
-
AuthenticationRequestPropertySource
public AuthenticationRequestPropertySource(AuthenticationRequest request, PropertySource.PropertyDomain domain, Properties props)
Creates a new authentication request property source.- Parameters:
request
- authentication request to set 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.
-
-