- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for cachePolicy (0.09 sec)
-
src/main/java/jcifs/http/NtlmHttpFilter.java
String name; 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
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 14.8K bytes - Viewed (0) -
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" ); Enumeration e = config.getInitParameterNames(); String name; while (e.hasMoreElements()) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
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"); p.setProperty("jcifs.netbios.cachePolicy", "600"); Enumeration<String> e = config.getInitParameterNames(); String name; while ( e.hasMoreElements() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7.6K bytes - Viewed (0) -
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
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/config/PropertyConfiguration.java
this.netbiosHostname = p.getProperty("jcifs.netbios.hostname", null); this.netbiosCachePolicy = Config.getInt(p, "jcifs.netbios.cachePolicy", 60 * 10) * 60; /* 10 hours */ this.netbiosSocketTimeout = Config.getInt(p, "jcifs.netbios.soTimeout", 5000); this.netbiosSendBufferSize = Config.getInt(p, "jcifs.netbios.snd_buf_size", 576);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
private static final String USERNAME = Config.getProperty("jcifs.smb1.smb.client.username", null); private static final int CACHE_POLICY = Config.getInt( "jcifs.smb1.netbios.cachePolicy", 60 * 10 ) * 60; /* 10 hours */ static NbtAddress[] dc_list = null; static long dc_list_expiration; static int dc_list_counter;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* * @return maximum number of retries for netbios requests */ int getNetbiosRetryCount (); /** * * * Property <tt>jcifs.netbios.cachePolicy</tt> in minutes (int, default 600) * * @return netbios cache timeout, in seconds, 0 - disable caching, -1 - cache forever */ int getNetbiosCachePolicy (); /** *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 18K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
} static void cacheAddress( Name hostName, NbtAddress addr ) { if( CACHE_POLICY == 0 ) { return; } long expiration = -1; if( CACHE_POLICY != FOREVER ) { expiration = System.currentTimeMillis() + CACHE_POLICY * 1000; } cacheAddress( hostName, addr, expiration ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 30.1K bytes - Viewed (0)