- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 54 for Referral (0.12 sec)
-
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
void testToString() { // Given DfsReferral referral = new DfsReferral(); referral.pathConsumed = 20; referral.server = "testServer"; referral.share = "testShare"; referral.link = "testLink"; referral.path = "/test/path"; referral.ttl = 300; referral.expiration = 1234567890L; referral.resolveHashes = true; // When
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/DfsReferral.java
/** Target share for this referral */ public String share; // Share /** The complete UNC path link */ public String link; /** Path relative to tree from which this referral was thrown */ public String path; // Path relative to tree from which this referral was thrown /** Whether to resolve hashes in the path */ public boolean resolveHashes; /** Expiration time for this referral entry */
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/internal/dfs/DfsReferralResponseBufferTest.java
// Second Referral v1 bb.putShort((short) 1); // version bb.putShort((short) 16); // size bb.putShort((short) 1); // serverType bb.putShort((short) 3); // rflags bb.put("\\srv2\0".getBytes(StandardCharsets.UTF_16LE)); // Position for third referral bb.position(40); // 8 header + 16 + 16 // Third Referral v1
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
String resolved = "smb://server/share/path"; when(locator.handleDFSReferral(referral, reqPath)).thenReturn(resolved); String out = locator.handleDFSReferral(referral, reqPath); assertEquals(resolved, out); // Verify exact argument interaction verify(locator, times(1)).handleDFSReferral(referral, reqPath); verifyNoMoreInteractions(locator); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java
/** * Trans2 GetDfsReferral response message for DFS referral queries. * This class handles the response from a TRANS2_GET_DFS_REFERRAL request, which returns * DFS referral information for redirecting clients to distributed file system targets. */ public class Trans2GetDfsReferralResponse extends SmbComTransactionResponse { /** * Indicates that the referral contains a name list. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
} /** * * @param loc * @param host * @param referral * @return tree handle * @throws IOException */ public synchronized SmbTreeHandleImpl connectHost(final SmbResourceLocatorImpl loc, String host, final DfsReferralData referral) throws IOException { String targetDomain = ctx.getCredentials().getUserDomain();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java
import java.nio.charset.StandardCharsets; import jcifs.Encodable; import jcifs.internal.util.SMBUtil; /** * DFS (Distributed File System) referral request buffer encoder. * Creates encoded request buffers for DFS referral requests, specifying the maximum * referral level and target path for which DFS resolution is requested. * * @author mbechler */ public class DfsReferralRequestBuffer implements Encodable {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java
* * @param config the configuration to use * @param filename the DFS path to get referrals for */ public Trans2GetDfsReferral(final Configuration config, final String filename) { this(config, filename, 3); } /** * Constructs a Trans2GetDfsReferral request with specified referral level. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
lenient().when(SmbTransport.getSmbTransport(uniAddress, 0)).thenReturn(smbTransport); DfsReferral referral = new DfsReferral(); referral.server = "dc1.domain.com"; referral.next = referral; lenient().when(smbTransport.getDfsReferrals(auth, "\\domain.com", 1)).thenReturn(referral); UniAddress dcAddress = mock(UniAddress.class);
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/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
} /** * Set the referral data from a referral response * * @param ref the referral response * @param reqPath the requested path * @param expire the expiration time * @param consumed the number of characters consumed from the path * @return referral data */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0)