- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for AuthenticationChain (0.1 sec)
-
src/main/java/org/codelibs/fess/auth/chain/AuthenticationChain.java
import org.codelibs.fess.opensearch.user.exentity.User; /** * Interface for authentication chain operations. * Provides methods for user management and authentication operations. */ public interface AuthenticationChain { /** * Updates an existing user in the authentication chain. * @param user The user to update. */ void update(User user); /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/AuthenticationManager.java
public User load(final User user) { User u = user; for (final AuthenticationChain chain : chains) { u = chain.load(u); } return u; } /** * Adds an authentication chain to the manager. * @param chain The authentication chain to add. */ public void addChain(final AuthenticationChain chain) { chains = ArrayUtils.addAll(chains, chain); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/LdapChain.java
import org.codelibs.fess.opensearch.user.exentity.User; import org.codelibs.fess.util.ComponentUtil; /** * An authentication chain for LDAP. */ public class LdapChain implements AuthenticationChain { /** * Default constructor. */ public LdapChain() { // do nothing } @Override public void update(final User user) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
User user = new User(); user.setName(username); return user; } // Test implementation of AuthenticationChain private static class TestAuthenticationChain implements AuthenticationChain { int id; int updateCallCount = 0; int deleteCallCount = 0; int changePasswordCallCount = 0; int loadCallCount = 0;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
user.setName(username); user.setDisplayName(displayName); return user; } // Test implementation of AuthenticationChain for testing private static class TestAuthenticationChain implements AuthenticationChain { // Track method calls List<User> updateCalls = new ArrayList<>(); List<User> deleteCalls = new ArrayList<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
* Provides user management through command-line tool execution for password changes and user deletion. */ public class CommandChain implements AuthenticationChain { private static final Logger logger = LogManager.getLogger(CommandChain.class); /** Working directory for command execution. */ protected File workingDirectory = null;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.1K bytes - Viewed (0)