Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for getProperty (0.22 sec)

  1. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                    return getResourcePath(getProperty(SPNEGO_LOGIN_CONF, "auth_login.conf"));
                }
                if (SpnegoHttpFilter.Constants.KRB5_CONF.equals(name)) {
                    return getResourcePath(getProperty(SPNEGO_KRB5_CONF, "krb5.conf"));
                }
                if (SpnegoHttpFilter.Constants.CLIENT_MODULE.equals(name)) {
                    return getProperty(SPNEGO_LOGIN_CLIENT_MODULE, "spnego-client");
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/ITBase.java

        private static final String TEST_TOKEN = "test.token";
    
        public static String getTestToken() {
            return System.getProperty(TEST_TOKEN, DEFAULT_TEST_TOKEN);
        }
    
        public static String settingTestToken() {
            final String testToken = System.getProperty(TEST_TOKEN);
            if (testToken != null) {
                logger.info("Token: {}", testToken);
                return testToken;
            }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                } else {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.ie", "file://"));
                }
                break;
            case FIREFOX:
                if (isLocalFile) {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.winlocal.firefox", "file://"));
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  4. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

            final String value = systemProperties.getProperty(key);
            if (value != null) {
                try {
                    return Integer.parseInt(value);
                } catch (final NumberFormatException e) {}
            }
            return defaultValue;
        }
    
        protected Long getDefaultLong(final String key, final Long defaultValue) {
            final String value = systemProperties.getProperty(key);
            if (value != null) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/FessBoot.java

            // update java.io.tmpdir
            final String tempPath = System.getProperty(FESS_TEMP_PATH);
            if (tempPath != null) {
                System.setProperty(JAVA_IO_TMPDIR, tempPath);
            }
    
            final TomcatBoot tomcatBoot = new FessBoot(getPort(), getContextPath()) //
                    .useTldDetect(); // for JSP
            final String varPath = System.getProperty(FESS_VAR_PATH);
            if (varPath != null) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ResourceUtil.java

                final Path confPath = Paths.get("/opt/fess", names);
                if (Files.exists(confPath)) {
                    return confPath;
                }
            }
            final String confPath = System.getProperty(Constants.FESS_CONF_PATH);
            if (StringUtil.isNotBlank(confPath)) {
                return Paths.get(confPath, names);
            }
            return getPath("WEB-INF/", "conf", names);
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/JvmUtil.java

                }
                return null;
            }).filter(s -> s != null).toArray(n -> new String[n]);
        }
    
        public static int getJavaVersion() {
            final String javaVersion = System.getProperty("java.version");
            int version = 8;
            if (javaVersion != null) {
                final String[] split = javaVersion.split("[\\._]");
                if (split.length > 0) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

            return ComponentUtil.getSystemProperties().getProperty(OIC_CLIENT_SECRET, StringUtil.EMPTY);
        }
    
        protected String getOicTokenServerUrl() {
            return ComponentUtil.getSystemProperties().getProperty(OIC_TOKEN_SERVER_URL, "https://accounts.google.com/o/oauth2/token");
        }
    
        protected String getOicRedirectUrl() {
            return ComponentUtil.getSystemProperties().getProperty(OIC_REDIRECT_URL, "http://localhost:8080/sso/");
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            ResourceUtil.getOverrideConfPath().ifPresent(p -> {
                buf.append(p);
                buf.append(cpSeparator);
            });
            final String confPath = System.getProperty(Constants.FESS_CONF_PATH);
            if (StringUtil.isNotBlank(confPath)) {
                buf.append(confPath);
                buf.append(cpSeparator);
            }
            // WEB-INF/env/thumbnail/resources
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            String tempDir = tempDirFile.getAbsolutePath();
            if (tempDir == null || tempDir.length() == 0) {
                tempDir = System.getProperty(JAVA_IO_TMPDIR_KEY);
            }
            return tempDir;
        }
    
        // ===================================================================================
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
Back to top