Class LdapChain

java.lang.Object
org.codelibs.fess.auth.chain.LdapChain
All Implemented Interfaces:
AuthenticationChain

public class LdapChain extends Object implements AuthenticationChain
An authentication chain for LDAP.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    changePassword(String username, String password)
    Changes the password for the specified user.
    void
    delete(org.codelibs.fess.opensearch.user.exentity.User user)
    Deletes a user from the authentication chain.
    org.codelibs.fess.opensearch.user.exentity.User
    load(org.codelibs.fess.opensearch.user.exentity.User user)
    Loads user information from the authentication chain.
    void
    update(org.codelibs.fess.opensearch.user.exentity.User user)
    Updates an existing user in the authentication chain.

    Methods inherited from class java.lang.Object

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

    • LdapChain

      public LdapChain()
      Default constructor.
  • Method Details

    • update

      public void update(org.codelibs.fess.opensearch.user.exentity.User user)
      Description copied from interface: AuthenticationChain
      Updates an existing user in the authentication chain.
      Specified by:
      update in interface AuthenticationChain
      Parameters:
      user - The user to update.
    • delete

      public void delete(org.codelibs.fess.opensearch.user.exentity.User user)
      Description copied from interface: AuthenticationChain
      Deletes a user from the authentication chain.
      Specified by:
      delete in interface AuthenticationChain
      Parameters:
      user - The user to delete.
    • changePassword

      public boolean changePassword(String username, String password)
      Description copied from interface: AuthenticationChain
      Changes the password for the specified user.
      Specified by:
      changePassword in interface AuthenticationChain
      Parameters:
      username - The username for which to change the password.
      password - The new password.
      Returns:
      True if the password was successfully changed, false otherwise.
    • load

      public org.codelibs.fess.opensearch.user.exentity.User load(org.codelibs.fess.opensearch.user.exentity.User user)
      Description copied from interface: AuthenticationChain
      Loads user information from the authentication chain.
      Specified by:
      load in interface AuthenticationChain
      Parameters:
      user - The user template containing search criteria.
      Returns:
      The loaded user, or null if not found.