- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getLocator (0.12 sec)
-
src/test/java/jcifs/tests/ContextConfigTest.java
Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo()); NtlmPasswordAuthenticator na = f.getContext().getCredentials().unwrap(NtlmPasswordAuthenticator.class); Assert.assertEquals("b@r", na.getPassword()); } try ( SmbFile f = new SmbFile(new URL("smb://foo:b%40r@127.0.0.1/")) ) { Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo());
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
/** * @param context * @param name */ private void setContext ( SmbResource context, String name ) { this.fileLocator.resolveInContext(context.getLocator(), name); if ( context.getLocator().getShare() != null && ( context instanceof SmbFile ) ) { this.treeConnection = SmbTreeConnection.create( ( (SmbFile) context ).treeConnection); } else {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0)