- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for AuthenticationChain (0.17 seconds)
-
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); /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.7K bytes - Click Count (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); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.1K bytes - Click Count (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) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.6K bytes - Click Count (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;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.3K bytes - Click Count (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<>();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.8K bytes - Click Count (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;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.4K bytes - Click Count (0)