Class LdapService

java.lang.Object
ddf.ldap.ldaplogin.LdapService

public class LdapService extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    LdapService(org.osgi.framework.BundleContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Delete an ldap module given its id.
    void
    update(org.apache.karaf.jaas.config.impl.Module newModule)
    Updates an existing ldap module with a new one or adds a new module to the list of existing modules.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LdapService

      public LdapService(org.osgi.framework.BundleContext context)
  • Method Details

    • update

      public void update(org.apache.karaf.jaas.config.impl.Module newModule)
      Updates an existing ldap module with a new one or adds a new module to the list of existing modules.
      Parameters:
      newModule - that will replace a module or be added to the list of modules.
    • delete

      public boolean delete(String id)
      Delete an ldap module given its id.
      Parameters:
      id - of the module.
      Returns:
      true, if the delete was successful, false otherwise.