Package org.codelibs.fess.auth.chain
Class LdapChain
java.lang.Object
org.codelibs.fess.auth.chain.LdapChain
- All Implemented Interfaces:
AuthenticationChain
An authentication chain for LDAP.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanchangePassword(String username, String password) Changes the password for the specified user.voiddelete(org.codelibs.fess.opensearch.user.exentity.User user) Deletes a user from the authentication chain.org.codelibs.fess.opensearch.user.exentity.Userload(org.codelibs.fess.opensearch.user.exentity.User user) Loads user information from the authentication chain.voidupdate(org.codelibs.fess.opensearch.user.exentity.User user) Updates an existing user in the authentication chain.
-
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:AuthenticationChainUpdates an existing user in the authentication chain.- Specified by:
updatein interfaceAuthenticationChain- Parameters:
user- The user to update.
-
delete
public void delete(org.codelibs.fess.opensearch.user.exentity.User user) Description copied from interface:AuthenticationChainDeletes a user from the authentication chain.- Specified by:
deletein interfaceAuthenticationChain- Parameters:
user- The user to delete.
-
changePassword
Description copied from interface:AuthenticationChainChanges the password for the specified user.- Specified by:
changePasswordin interfaceAuthenticationChain- 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:AuthenticationChainLoads user information from the authentication chain.- Specified by:
loadin interfaceAuthenticationChain- Parameters:
user- The user template containing search criteria.- Returns:
- The loaded user, or null if not found.
-