Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for props (0.23 sec)

  1. src/main/java/org/codelibs/core/io/PropertiesUtil.java

         * </p>
         *
         * @param props
         *            プロパティセット。{@literal null}であってはいけません
         * @param in
         *            入力ストリーム。{@literal null}であってはいけません
         */
        public static void load(final Properties props, final InputStream in) {
            assertArgumentNotNull("props", props);
            assertArgumentNotNull("in", in);
    
            try {
                props.load(in);
            } catch (final IOException e) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

            } else if (Constants.NTLM.equals(scheme)) {
                final Properties props = new Properties();
                paramMap.entrySet().stream().filter(e -> e.getKey().startsWith("jcifs.")).forEach(e -> {
                    props.setProperty(e.getKey(), e.getValue());
                });
                authScheme = new NTLMScheme(new JcifsEngine(props));
            } else if (Constants.FORM.equals(scheme)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ResourceUtil.java

         */
        public static Properties getProperties(final String path) {
            assertArgumentNotEmpty("path", path);
    
            final Properties props = new Properties();
            final InputStream is = getResourceAsStream(path);
            try {
                props.load(is);
                return props;
            } catch (final IOException ex) {
                throw new IORuntimeException(ex);
            } finally {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java

            final Annotation anno = m.getAnnotation(Hoge.class);
            final Map<String, Object> props = AnnotationUtil.getProperties(anno);
            assertThat((String) props.get("aaa"), is("123"));
            assertThat((String) props.get("bbb"), is("3"));
            assertThat(props.get("ccc"), is(nullValue()));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/FessBoot.java

                    final Properties props, final List<String> readConfigList) {
                if (props == null) {
                    return;
                }
                super.setupServerConfigIfNeeds(logger, server, connector, props, readConfigList);
                doSetupServerConfig(logger, props, "SSLEnabled", value -> {
                    if ("true".equalsIgnoreCase(value)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/SystemInfoTests.java

            final Map<String, Object> res = JsonPath.from(response).getMap("response");
            assertTrue(res.containsKey("env_props"));
            assertTrue(res.containsKey("system_props"));
            assertTrue(res.containsKey("fess_props"));
            assertTrue(res.containsKey("bug_report_props"));
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

                final Properties props = new Properties();
                getWebConfig().getConfigParameterMap(ConfigName.CONFIG).entrySet().stream()
                        .filter(e -> e.getKey().startsWith(Config.JCIFS_PREFIX)).forEach(e -> {
                            props.setProperty(e.getKey(), e.getValue());
                        });
                return new NTLMScheme(new JcifsEngine(props));
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/ContextConfigTest.java

            props.put("jcifs.smb.client.domain", "my-domain");
            props.put("jcifs.smb.client.username", "my-default-user-id");
            props.put("jcifs.smb.client.password", "my-default-password");
    
            CIFSContext auth = new BaseContext(new PropertyConfiguration(props));
            assertTrue(auth.hasDefaultCredentials());
            assertTrue( auth.getCredentials() instanceof NtlmPasswordAuthenticator);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  9. src/main/assemblies/files/fess

    #    -h
    #    --help        print command line options
    #    -v            print fess version, then exit
    #    -D prop       set JAVA system property
    #    -X prop       set non-standard JAVA system property
    #   --prop=val
    #   --prop val     set fess property (i.e.  -Des.<prop>=<val>)
    
    CDPATH=""
    SCRIPT="$0"
    
    # SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path.
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/systeminfo/ApiAdminSysteminfoAction.java

            final List<Map<String, String>> propItems = getPropItems();
            return asJson(new ApiResult.ApiSystemInfoResponse().bugReportProps(bugReportItems).envProps(envItems).fessProps(fessPropItems)
                    .systemProps(propItems).status(ApiResult.Status.OK).result());
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top