Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/org/codelibs/fess/exec/Crawler.java

            final CrawlingInfoHelper crawlingInfoHelper = ComponentUtil.getCrawlingInfoHelper();
            final DynamicProperties systemProperties = ComponentUtil.getSystemProperties();
    
            if (StringUtil.isNotBlank(options.propertiesPath)) {
                systemProperties.reload(options.propertiesPath);
            } else {
                try {
                    final File propFile = ComponentUtil.getSystemHelper().createTempFile("crawler_", ".properties");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

            final String[] values = form.id.split(":");
            return ComponentUtil.getPluginHelper().getArtifact(values[0], values[1]);
        }
    
        public static void installArtifact(final Artifact artifact) {
            new Thread(() -> {
                final PluginHelper pluginHelper = ComponentUtil.getPluginHelper();
                final Artifact[] artifacts = pluginHelper.getInstalledArtifacts(artifact.getType());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

        public String execute() {
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final LabelTypeHelper labelTypeHelper = ComponentUtil.getLabelTypeHelper();
            final LanguageHelper languageHelper = ComponentUtil.getLanguageHelper();
    
            final StringBuilder resultBuf = new StringBuilder();
    
            try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            final CrawlingInfoHelper crawlingInfoHelper = ComponentUtil.getCrawlingInfoHelper();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final Date documentExpires = crawlingInfoHelper.getDocumentExpires(config);
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final Map<String, String> paramEnvMap = systemHelper.getFilteredEnvMap(fessConfig.getCrawlerDataEnvParamKeyPattern());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K 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