Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getLdapManager (0.18 sec)

  1. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/GroupService.java

        }
    
        public OptionalEntity<Group> getGroup(final String id) {
            return groupBhv.selectByPK(id).map(g -> {
                ComponentUtil.getLdapManager().apply(g);
                return g;
            });
        }
    
        public void store(final Group group) {
            ComponentUtil.getLdapManager().insert(group);
    
            groupBhv.insertOrUpdate(group, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/RoleService.java

        }
    
        public void store(final Role role) {
            ComponentUtil.getLdapManager().insert(role);
    
            roleBhv.insertOrUpdate(role, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void delete(final Role role) {
            ComponentUtil.getLdapManager().delete(role);
    
            roleBhv.delete(role, op -> {
                op.setRefreshPolicy(Constants.TRUE);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. 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();
            });
        }
    
        @Override
        public ActionResponse getResponse(final SsoResponseType responseType) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

            form.confirmPassword = null;
        }
    
        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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

                }, this::asListHtml);
            }
        }
    
        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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            return getComponent(SUGGEST_HELPER);
        }
    
        public static RoleQueryHelper getRoleQueryHelper() {
            return getComponent(ROLE_QUERY_HELPER);
        }
    
        public static LdapManager getLdapManager() {
            return getComponent(LDAP_MANAGER);
        }
    
        public static ActivityHelper getActivityHelper() {
            return getComponent(ACTIVITY_HELPER);
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top