Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 326 for ComponentUtil (0.13 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

            }
    
            @Override
            public boolean refresh() {
                if (authResult.getExpiresAfter() < ComponentUtil.getSystemHelper().getCurrentTimeAsLong()) {
                    return false;
                }
                final AzureAdAuthenticator authenticator = ComponentUtil.getComponent(AzureAdAuthenticator.class);
                final String refreshToken = authResult.getRefreshToken();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

        public List<KeyMatch> getAvailableKeyMatchList() {
            return ComponentUtil.getComponent(KeyMatchBhv.class).selectList(cb -> {
                cb.query().matchAll();
                cb.fetchFirst(ComponentUtil.getFessConfig().getPageKeymatchMaxFetchSizeAsInteger());
            });
        }
    
        @Override
        public int load() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            deleteUserCodeFromCookie(request);
            return userCode;
        }
    
        protected String createUserCodeFromUserId(String userCode) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final PrimaryCipher cipher = ComponentUtil.getPrimaryCipher();
            userCode = cipher.encrypt(userCode);
            if (fessConfig.isValidUserCode(userCode)) {
                return userCode;
            }
            return null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

        public void init() {
            final String filetypeField = ComponentUtil.getFessConfig().getIndexFieldFiletype();
            final Collection<String> values = queryMap.values();
            if (values.stream().anyMatch(s -> s.startsWith(filetypeField))) {
                final ResourceBundle resources = ResourceBundle.getBundle("fess_label", Locale.ENGLISH);
                final String[] fileTypes = ComponentUtil.getFileTypeHelper().getTypes();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

            try {
                final PathMappingBhv pathMappingBhv = ComponentUtil.getComponent(PathMappingBhv.class);
                cachedPathMappingList = pathMappingBhv.selectList(cb -> {
                    cb.query().addOrderBy_SortOrder_Asc();
                    cb.query().setProcessType_InScope(ptList);
                    cb.fetchFirst(ComponentUtil.getFessConfig().getPagePathMappingMaxFetchSizeAsInteger());
                });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            } else {
                roles = new String[] { role };
            }
            final FessLoginAssist loginAssist = ComponentUtil.getComponent(FessLoginAssist.class);
            return loginAssist.getSavedUserBean()
                    .map(user -> user.hasRoles(roles) || user.hasRoles(ComponentUtil.getFessConfig().getAuthenticationAdminRolesAsArray()))
                    .orElse(false);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            if (ComponentUtil.hasIngestFactory()) {
                ingestFactory = ComponentUtil.getIngestFactory();
            }
        }
    
        @PreDestroy
        public void destroy() {
            if (!finishCrawling) {
                if (logger.isInfoEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/OsddHelper.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.web.response.StreamResponse;
    import org.lastaflute.web.util.LaServletContextUtil;
    
    import jakarta.annotation.PostConstruct;
    
    /**
     * Helper class for Open Search Description Document.
     *
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/RoleService.java

            return roleBhv.selectByPK(id);
        }
    
        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 -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/UserService.java

                user.setSurname(user.getName());
            }
    
            ComponentUtil.getAuthenticationManager().insert(user);
    
            userBhv.insertOrUpdate(user, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void changePassword(final String username, final String password) {
            final boolean changed = ComponentUtil.getAuthenticationManager().changePassword(username, password);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top