- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for DfsReferral (0.1 sec)
-
src/main/java/jcifs/smb/DfsReferral.java
* * * <p>This class is intended for internal use.</p> */ public class DfsReferral extends SmbException { /** * */ private static final long serialVersionUID = 1486630733410281686L; /** The underlying DFS referral data */ private final DfsReferralData data; /** * Constructs a DfsReferral with the specified referral data * * @param data the DFS referral data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/DfsReferral.java
/** The next DFS referral in the chain */ DfsReferral next; /** Map containing DFS referral entries */ Map map; /** The cache key for this referral */ String key = null; /** * Constructs a new DfsReferral instance */ public DfsReferral() { this.next = this; } void append(final DfsReferral dr) { dr.next = next; next = dr; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
// Given DfsReferral referral = new DfsReferral(); // When / Then assertNotNull(referral, "The DfsReferral object should not be null."); assertEquals(referral, referral.next, "The 'next' property should point to the object itself."); } /** * Tests the append method of the DfsReferral class.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
final SmbTransport trans = SmbTransport.getSmbTransport(addr, 0); final CacheEntry entry = new CacheEntry(Dfs.TTL * 10L); DfsReferral dr = trans.getDfsReferrals(auth, "", 0); if (dr != null) { final DfsReferral start = dr; do { final String domain = dr.server.toLowerCase(); entry.map.put(domain, new HashMap());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsReferralTest.java
when(mockData.toString()).thenReturn(expectedToString); // Create a DfsReferral instance with the mock data DfsReferral dfsReferral = new DfsReferral(mockData); // Verify that toString() returns the expected string from the mock data object assertEquals(expectedToString, dfsReferral.toString(),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
* * @see jcifs.SmbResourceLocator#getDfsPath() */ @Override public String getDfsPath() { if (this.dfsReferral == null) { return null; } return "smb://" + this.dfsReferral.getServer() + "/" + this.dfsReferral.getShare() + this.getUNCPath().replace('\\', '/'); } /** * {@inheritDoc} * * @see jcifs.SmbResourceLocator#getPort()
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
class DfsTest { @Mock private NtlmPasswordAuthentication auth; @Mock private SmbTransport smbTransport; @Mock private UniAddress uniAddress; @Mock private DfsReferral dfsReferral; private Dfs dfs; private TestDfs testDfs; private MockedStatic<LogStream> logStreamMockedStatic; private MockedStatic<UniAddress> uniAddressMockedStatic;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
return canonical; } @Override public DfsReferralData getDfsReferral() { return dfsReferral; } public void setDfsReferral(DfsReferralData dfsReferral) { this.dfsReferral = dfsReferral; } @Override public String getUNCPath() { return null; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
rn = resp.numReferrals; } final DfsReferral[] drs = new DfsReferral[rn]; final String[] arr = new String[4]; final long expiration = System.currentTimeMillis() + Dfs.TTL * 1000; for (int di = 0; di < drs.length; di++) { final DfsReferral dr = new DfsReferral(); /* NTLM HTTP Authentication must be re-negotiated
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
final CommonServerMessageBlockRequest request, final T response, final Set<RequestParam> params) throws CIFSException, DfsReferral { for (int limit = 10; limit > 0; limit--) { if (request instanceof RequestWithPath) { ensureDFSResolved(loc, (RequestWithPath) request); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0)