Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for cachePolicy (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/smb1/http/NtlmServlet.java

            super.init(config);
    
            /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 10min.
             */
            Config.setProperty("jcifs.smb1.smb.client.soTimeout", "300000");
            Config.setProperty("jcifs.smb1.netbios.cachePolicy", "600");
    
            final Enumeration e = config.getInitParameterNames();
            String name;
            while (e.hasMoreElements()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

            String name;
            int level;
    
            /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 30min.
             */
            Config.setProperty("jcifs.smb1.smb.client.soTimeout", "1800000");
            Config.setProperty("jcifs.smb1.netbios.cachePolicy", "1200");
            /* The Filter can only work with NTLMv1 as it uses a man-in-the-middle
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/http/NtlmHttpFilter.java

            String name;
    
            final Properties p = new Properties();
            /*
             * Set jcifs properties we know we want; soTimeout and cachePolicy to 30min.
             */
            p.setProperty("jcifs.smb.client.soTimeout", "1800000");
            p.setProperty("jcifs.netbios.cachePolicy", "1200");
            /*
             * The Filter can only work with NTLMv1 as it uses a man-in-the-middle
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

        }
    
        static void cacheAddress(final Name hostName, final NbtAddress addr) {
            if (CACHE_POLICY == 0) {
                return;
            }
            long expiration = -1;
            if (CACHE_POLICY != FOREVER) {
                expiration = System.currentTimeMillis() + CACHE_POLICY * 1000;
            }
            cacheAddress(hostName, addr, expiration);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
Back to Top