- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for props (0.14 sec)
-
src/main/java/jcifs/Config.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/AllTests.java
return; } Properties props = new Properties(); try ( FileChannel ch = FileChannel.open(config, StandardOpenOption.READ); InputStream is = Channels.newInputStream(ch) ) { props.load(is); } if ( !props.isEmpty() ) { Map<String, String> map = toMap(props); String cfgname = fname.substring(0, fname.length() - 5);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/context/SingletonContext.java
/** * Initialize singleton context using custom properties * * This method can only be called once. * * @param props * @throws CIFSException */ public static synchronized final void init ( Properties props ) throws CIFSException { if ( INSTANCE != null ) { throw new CIFSException("Singleton context is already initialized"); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Jun 01 08:53:08 GMT 2019 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
props.put("jcifs.smb.client.domain", "my-domain"); props.put("jcifs.smb.client.username", "my-default-user-id"); props.put("jcifs.smb.client.password", "my-default-password"); CIFSContext auth = new BaseContext(new PropertyConfiguration(props)); assertTrue(auth.hasDefaultCredentials()); assertTrue( auth.getCredentials() instanceof NtlmPasswordAuthenticator);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/BaseCIFSTest.java
Properties props = new Properties(); props.putAll(this.properties); return new BaseContext(new PropertyConfiguration(props)); } protected Map<String, String> getProperties () { return this.properties; } protected String getRequiredProperty ( String prop ) { String val = this.properties.get(prop); Assume.assumeNotNull(val);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
@Test public void testWINSOnly () throws CIFSException, UnknownHostException { Properties prop = new Properties(); prop.setProperty("jcifs.resolveOrder", "WINS"); prop.setProperty("jcifs.netbios.wins", getRequiredProperty("jcifs.netbios.wins")); PropertyConfiguration cfg = new PropertyConfiguration(prop); BaseContext c = new BaseContext(cfg);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Jun 06 10:48:05 GMT 2020 - 7K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
this.maxVersion = this.minVersion; } } protected void initDisallowCompound ( String prop ) { if ( prop == null ) { return; } Set<String> disallow = new HashSet<>(); StringTokenizer st = new StringTokenizer(prop, ","); while ( st.hasMoreTokens() ) { disallow.add(st.nextToken().trim()); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:06:39 GMT 2023 - 20.4K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbTreeConnection.java
* Use a exclusive connection for this tree * * If an exclusive connection is used the caller must make sure that the tree handle is kept alive, * otherwise the connection will be disconnected once the usage drops to zero. * * @param np * whether to use an exclusive connection */ void setNonPooled ( boolean np ) { this.nonPooled = np; } /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:50:16 GMT 2020 - 31K bytes - Viewed (0)