Package org.codelibs.fess.auth.chain
Interface AuthenticationChain
- All Known Implementing Classes:
CommandChain,LdapChain
public interface AuthenticationChain
Interface for authentication chain operations.
Provides methods for user management and authentication operations.
-
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.
-
Method Details
-
update
void update(org.codelibs.fess.opensearch.user.exentity.User user) Updates an existing user in the authentication chain.- Parameters:
user- The user to update.
-
delete
void delete(org.codelibs.fess.opensearch.user.exentity.User user) Deletes a user from the authentication chain.- Parameters:
user- The user to delete.
-
changePassword
Changes the password for the specified user.- 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
org.codelibs.fess.opensearch.user.exentity.User load(org.codelibs.fess.opensearch.user.exentity.User user) Loads user information from the authentication chain.- Parameters:
user- The user template containing search criteria.- Returns:
- The loaded user, or null if not found.
-