Create an object or val that is a subclass of the FactoryMaker to generate factory for a particular class as well as define session and request specific vendors and use doWith to define the vendor just for the scope of the call.
Attempts to authenticate the given DN against the configured LDAP provider.
The configuration to use for connecting to the provider.
Configure from the given Map[String,String]
Configure from the given input stream.
Configure from the given file.
Configure straight from the Props object.
The default SearchControls to use: search the base DN with a sub-tree scope, and return the "cn" attribute.
This method attempts to fetch the cached InitialLdapContext for the current thread.
Obtains a (possibly cached) InitialContext instance based on the currently set parameters.
Perform the injection for the given type.
This controls the type of authentication to use.
This controls the base DN used for searcheds
This controls the factory used to obtain an InitialContext
This controls the password used to bind for searches (not authentication)
This controls the URL used to connect to the LDAP server
This controls the username used to bind for searches (not authentication)
This method does the actual work of setting up the environment and constructing the InitialLdapContext.
This method checks the configuration and sets defaults for any properties that are required.
Register a function that will inject for the given Manifest
This sets the interval between connection attempts on the InitialContext.
This sets the maximum number of connection attempts before giving up.
Searches the base DN for entities matching the given filter.
This sets the Directory SearchControls instance that is used to refine searches on the provider.
This can be set to test the InitialContext on each LDAP operation.