- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getLdapManager (0.14 sec)
-
src/main/java/org/codelibs/fess/auth/chain/LdapChain.java
public void update(final User user) { ComponentUtil.getLdapManager().insert(user); } @Override public void delete(final User user) { ComponentUtil.getLdapManager().delete(user); } @Override public boolean changePassword(final String username, final String password) { final boolean changed = ComponentUtil.getLdapManager().changePassword(username, password);
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/main/java/org/codelibs/fess/app/service/GroupService.java
* @return an OptionalEntity containing the group if found, empty otherwise */ public OptionalEntity<Group> getGroup(final String id) { return groupBhv.selectByPK(id).map(g -> { ComponentUtil.getLdapManager().apply(g); return g; }); } /** * Stores a group by inserting or updating it in both LDAP and the database.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/RoleService.java
ComponentUtil.getLdapManager().insert(role); roleBhv.insertOrUpdate(role, op -> { op.setRefreshPolicy(Constants.TRUE); }); } /** * Deletes a role. * @param role The role to delete. */ public void delete(final Role role) { ComponentUtil.getLdapManager().delete(role); roleBhv.delete(role, op -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapUser.java
final String groupFilter = fessConfig.getLdapGroupFilter(); if (StringUtil.isNotBlank(baseDn) && StringUtil.isNotBlank(accountFilter)) { final LdapManager ldapManager = ComponentUtil.getLdapManager(); permissions = distinct(ArrayUtils.addAll(ldapManager.getRoles(this, baseDn, accountFilter, groupFilter, roles -> { permissions = distinct(roles);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java
final String password = userCredential.getPassword(); if (!fessConfig.isAdminUser(username)) { final OptionalEntity<FessUser> ldapUser = ComponentUtil.getLdapManager().login(username, password); if (ldapUser.isPresent()) { return ldapUser; } } return doFindLoginUser(username, encryptPassword(password));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
*/ public static void validateAttributes(final Map<String, String> attributes, final Consumer<VaMessenger<FessMessages>> throwError) { ComponentUtil.getLdapManager() .validateUserAttributes(Long.class, attributes, s -> throwError.accept(messages -> messages.addErrorsPropertyTypeLong("attributes." + s, "attributes." + s))); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java
fessConfig.setStorageSecretKey(form.storageSecretKey); } fessConfig.setStorageBucket(form.storageBucket); fessConfig.storeSystemProperties(); ComponentUtil.getLdapManager().updateConfig(); final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); systemHelper.refreshDesignJspFiles(); systemHelper.updateSystemProperties();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java
* @param throwError the error handler */ public static void validateAttributes(final Map<String, String> attributes, final Consumer<VaMessenger<FessMessages>> throwError) { ComponentUtil.getLdapManager() .validateGroupAttributes(Long.class, attributes, s -> throwError.accept(messages -> messages.addErrorsPropertyTypeLong("attributes." + s, "attributes." + s))); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
final String username = credential.getUserId(); if (!ComponentUtil.getFessConfig().isAdminUser(username)) { return ComponentUtil.getLdapManager().login(username); } return OptionalEntity.empty(); }); } /** * Gets the action response for the specified SSO response type. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 17.2K bytes - Viewed (3) -
src/main/java/org/codelibs/fess/util/ComponentUtil.java
return getComponent(ROLE_QUERY_HELPER); } /** * Gets the LDAP manager component. * @return The LDAP manager. */ public static LdapManager getLdapManager() { return getComponent(LDAP_MANAGER); } /** * Gets the activity helper component. * @return The activity helper. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 28.9K bytes - Viewed (0)