Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for setProperties (1.17 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            return getProperties().elements();
        }
    
        @Override
        public Set<java.util.Map.Entry<Object, Object>> entrySet() {
            return getProperties().entrySet();
        }
    
        @Override
        public boolean equals(final Object o) {
            return getProperties().equals(o);
        }
    
        @Override
        public Object get(final Object key) {
            return getProperties().get(key);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

         *
         * @param annotation the annotation (must not be {@literal null})
         * @return a {@link Map} of annotation element names and values
         */
        public static Map<String, Object> getProperties(final Annotation annotation) {
            assertArgumentNotNull("annotation", annotation);
    
            final Map<String, Object> map = newHashMap();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  9. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top