Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for setProperties (0.07 sec)

  1. src/main/java/jcifs/smb1/Config.java

        /**
         * Set the properties to be used for configuration.
         *
         * @param prp the properties to set
         */
        public static void setProperties(final Properties prp) {
            Config.prp = new Properties(prp);
            try {
                Config.prp.putAll(System.getProperties());
            } catch (final SecurityException se) {
                if (LogStream.level > 1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/HandlerTest.java

            originalSystemProperties = (Properties) System.getProperties().clone();
            // Reset static state of the Handler class before each test for isolation
            resetHandlerState();
            handler = new Handler(mockCifsContext);
        }
    
        @AfterEach
        void tearDown() throws Exception {
            // Restore system properties and clean up static state
            System.setProperties(originalSystemProperties);
            resetHandlerState();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/ExecJob.java

         *
         * @param cmdList the command list to add properties to
         */
        protected void addFessConfigProperties(final List<String> cmdList) {
            System.getProperties()
                    .keySet()
                    .stream()
                    .filter(k -> k != null && k.toString().startsWith(Constants.FESS_CONFIG_PREFIX))
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            if (logger.isDebugEnabled()) {
                try {
                    ManagementFactory.getRuntimeMXBean().getInputArguments().stream().forEach(s -> logger.debug("Parameter: {}", s));
                    System.getProperties().entrySet().stream().forEach(e -> logger.debug("Property: {}={}", e.getKey(), e.getValue()));
                    System.getenv().entrySet().forEach(e -> logger.debug("Env: {}={}", e.getKey(), e.getValue()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

                    new BaseContext(new PropertyConfiguration(System.getProperties())), "domain", "user", "password");
            when(mockCifsContext.getCredentials()).thenReturn(creds);
            when(mockCifsContext.getConfig()).thenReturn(new PropertyConfiguration(System.getProperties()));
            when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmServlet.java

        @Override
        public void init(final ServletConfig config) throws ServletException {
            super.init(config);
    
            final Properties p = new Properties();
            p.putAll(System.getProperties());
            /*
             * Set jcifs properties we know we want; soTimeout and cachePolicy to 10min.
             */
            p.setProperty("jcifs.smb.client.soTimeout", "300000");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  7. src/main/java/jcifs/context/SingletonContext.java

                        p.load(in);
                    }
                }
    
            } catch (final IOException ioe) {
                log.error("Failed to load config", ioe); //$NON-NLS-1$
            }
            p.putAll(System.getProperties());
            if (props != null) {
                p.putAll(props);
            }
            INSTANCE = new SingletonContext(p);
        }
    
        /**
         * Get singleton context
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

            if (logger.isDebugEnabled()) {
                try {
                    ManagementFactory.getRuntimeMXBean().getInputArguments().stream().forEach(s -> logger.debug("Parameter: {}", s));
                    System.getProperties().entrySet().stream().forEach(e -> logger.debug("Property: {}={}", e.getKey(), e.getValue()));
                    System.getenv().entrySet().forEach(e -> logger.debug("Env: {}={}", e.getKey(), e.getValue()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NetworkExplorer.java

            final StringBuilder sb = new StringBuilder();
            final byte[] buf = new byte[1024];
            int n;
            String name;
    
            final Properties p = new Properties();
            p.putAll(System.getProperties());
            p.setProperty("jcifs.smb.client.soTimeout", "600000");
            p.setProperty("jcifs.smb.client.attrExpirationPeriod", "300000");
    
            final Enumeration<String> e = getInitParameterNames();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            File propFile = new File(tempDir, "test.properties");
    
            // Mock ComponentUtil.getSystemProperties() to return actual system properties
            Properties systemProps = System.getProperties();
    
            // Set a system property
            System.setProperty("test.prop", "test.value");
    
            execJob.testCreateSystemProperties(cmdList, propFile);
    
            assertTrue(propFile.exists());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
Back to top