Class LdapConfiguration.ContextConfiguration
java.lang.Object
io.micronaut.security.ldap.configuration.LdapConfiguration.ContextConfiguration
- Enclosing class:
 - LdapConfiguration
 
@ConfigurationProperties("context")
public static class LdapConfiguration.ContextConfiguration
extends Object
The context configuration.
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidsetFactory(String factory) Sets the context factory class.voidsetManagerDn(String managerDn) Sets the manager DN.voidsetManagerPassword(String managerPassword) Sets the manager password.voidsetProperties(Map<String, Object> properties) Any additional properties that should be passed toInitialDirContext(java.util.Hashtable).voidSets the server URL. 
- 
Field Details
- 
PREFIX
The configuration prefix.- See Also:
 
 
 - 
 - 
Constructor Details
- 
ContextConfiguration
public ContextConfiguration() 
 - 
 - 
Method Details
- 
getServer
- Returns:
 - The ldap server URL
 
 - 
setServer
Sets the server URL.- Parameters:
 server- The server URL
 - 
getManagerDn
- Returns:
 - The manager DN
 
 - 
setManagerDn
Sets the manager DN.- Parameters:
 managerDn- The manager DN
 - 
getManagerPassword
- Returns:
 - The manager password
 
 - 
setManagerPassword
Sets the manager password.- Parameters:
 managerPassword- The manager password
 - 
getFactory
- Returns:
 - The context factory class
 
 - 
setFactory
Sets the context factory class. Default "com.sun.jndi.ldap.LdapCtxFactory"- Parameters:
 factory- The factory class
 - 
getProperties
- Returns:
 - Any additional properties
 
 - 
setProperties
Any additional properties that should be passed toInitialDirContext(java.util.Hashtable).- Parameters:
 properties- The additional properties
 
 -