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 Details

  • Constructor Details

    • ContextConfiguration

      public ContextConfiguration()
  • Method Details

    • getServer

      public String getServer()
      Returns:
      The ldap server URL
    • setServer

      public void setServer(String server)
      Sets the server URL.
      Parameters:
      server - The server URL
    • getManagerDn

      public String getManagerDn()
      Returns:
      The manager DN
    • setManagerDn

      public void setManagerDn(String managerDn)
      Sets the manager DN.
      Parameters:
      managerDn - The manager DN
    • getManagerPassword

      public String getManagerPassword()
      Returns:
      The manager password
    • setManagerPassword

      public void setManagerPassword(String managerPassword)
      Sets the manager password.
      Parameters:
      managerPassword - The manager password
    • getFactory

      public String getFactory()
      Returns:
      The context factory class
    • setFactory

      public void setFactory(String factory)
      Sets the context factory class. Default "com.sun.jndi.ldap.LdapCtxFactory"
      Parameters:
      factory - The factory class
    • getProperties

      public Map<String,Object> getProperties()
      Returns:
      Any additional properties
    • setProperties

      public void setProperties(Map<String,Object> properties)
      Any additional properties that should be passed to InitialDirContext(java.util.Hashtable).
      Parameters:
      properties - The additional properties