- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for getProperty (0.06 sec)
-
src/main/java/jcifs/config/PropertyConfiguration.java
// Standard jCIFS properties value = props.getProperty("jcifs.smb.client.username"); if (value != null) { this.defaultUserName = value; } value = props.getProperty("jcifs.smb.client.password"); if (value != null) { this.defaultPassword = value; } value = props.getProperty("jcifs.smb.client.domain"); if (value != null) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
String ver, pkgs; ver = System.getProperty("java.version"); if (ver.startsWith("1.1.") || ver.startsWith("1.2.")) { throw new RuntimeException("jcifs.smb1-0.7.0b4+ requires Java 1.3 or above. You are running " + ver); } pkgs = System.getProperty("java.protocol.handler.pkgs"); if (pkgs == null) { System.setProperty("java.protocol.handler.pkgs", "jcifs.smb1");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
} enableBasic = Boolean.parseBoolean(Config.getProperty("jcifs.smb1.http.enableBasic")); insecureBasic = Boolean.parseBoolean(Config.getProperty("jcifs.smb1.http.insecureBasic")); realm = Config.getProperty("jcifs.smb1.http.basicRealm"); if (realm == null) { realm = "jCIFS"; } } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
static { String s = Config.getProperty("jcifs.smb1.smb.client.TreeConnectAndX.CheckDirectory"); if (s != null) { batchLimits[0] = Byte.parseByte(s); } if ((s = Config.getProperty("jcifs.smb1.smb.client.TreeConnectAndX.CreateDirectory")) != null) { batchLimits[2] = Byte.parseByte(s); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Native operating system name */ String NATIVE_OS = Config.getProperty("jcifs.smb1.smb.client.nativeOs", System.getProperty("os.name")); /** Native LAN manager name */ String NATIVE_LANMAN = Config.getProperty("jcifs.smb1.smb.client.nativeLanMan", "jCIFS"); /** Virtual circuit number */ int VC_NUMBER = 1; /** Null transport instance */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
this.insecureBasic = Boolean.parseBoolean(p.getProperty("jcifs.http.insecureBasic")); this.realm = p.getProperty("jcifs.http.basicRealm"); if (this.realm == null) { this.realm = "jCIFS"; } this.transportContext = new BaseContext(new PropertyConfiguration(p)); } catch (final CIFSException ex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (1) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
} enableBasic = Boolean.parseBoolean(Config.getProperty("jcifs.smb1.http.enableBasic")); insecureBasic = Boolean.parseBoolean(Config.getProperty("jcifs.smb1.http.insecureBasic")); realm = Config.getProperty("jcifs.smb1.http.basicRealm"); if (realm == null) { realm = "jCIFS"; } level = Config.getInt("jcifs.smb1.util.loglevel", -1);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/context/SingletonContext.java
SingletonContext.getInstance(); String pkgs = System.getProperty("java.protocol.handler.pkgs"); if (pkgs == null) { System.setProperty("java.protocol.handler.pkgs", "jcifs"); } else if (pkgs.indexOf("jcifs") == -1) { pkgs += "|jcifs"; System.setProperty("java.protocol.handler.pkgs", pkgs); } } /** * */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/Config.java
* @return the integer value of the property or the default value */ public static int getInt(final Properties props, final String key, int def) { final String s = props.getProperty(key); if (s != null) { try { def = Integer.parseInt(s); } catch (final NumberFormatException nfe) { log.error("Not a number", nfe); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
Files.writeString(jcifsPropertiesPath, "jcifs.smb.client.nativeOs=FileOS"); System.setProperty("jcifs.properties", jcifsPropertiesPath.toString()); System.setProperty("jcifs.smb.client.nativeOs", "SystemOS"); Properties customProps = new Properties(); customProps.setProperty("jcifs.smb.client.nativeOs", "CustomOS"); SingletonContext.init(customProps);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)