- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 76 for referrals (0.08 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/DfsResolver.java
*/ DfsReferralData resolve(CIFSContext tf, String domain, String root, String path) throws CIFSException; /** * Add a referral to the cache * * @param path the DFS path for this referral * @param dr the DFS referral data to cache * @param tc the CIFS context containing configuration */ void cache(CIFSContext tc, String path, DfsReferralData dr);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
private DfsReferralRequestBuffer buffer; @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create buffer with simple path and referral level") void testConstructorWithSimplePath() { String path = "\\\\server\\share"; int maxReferralLevel = 3; buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
@Mock private jcifs.CIFSContext ctx; @Mock private SmbSession session; @Mock private jcifs.DfsReferralData referral; @BeforeEach void resetMocks() { Mockito.reset(transport, ctx, session, referral); } // Happy path: hasCapability returns based on provided capability codes @ParameterizedTestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
} @Test @DisplayName("Test DFS referral data") void testDfsReferralData() throws Exception { String url = "smb://server/share/path/"; DummySmbResourceLocator loc = new DummySmbResourceLocator(url); // Initially no DFS referral assertNull(loc.getDfsReferral()); // Set and retrieve DFS referral loc.setDfsReferral(dfs);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
byte subCmd = (byte) getPrivateField(cmd, "subCommand"); assertEquals(subCmd, buf[0]); assertEquals((byte) 0x00, buf[1]); } @Test @DisplayName("writeParametersWireFormat writes referral level and path") void testWriteParams() throws Exception { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("abc"); setPrivateField(cmd, "maxReferralLevel", 0x12AB); byte[] buffer = new byte[100];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
} } @Nested @DisplayName("Combine Tests") class CombineTests { @Test @DisplayName("Should combine two referral data objects") void testCombine() { // Setup first referral DfsReferralDataImpl first = new DfsReferralDataImpl(); when(mockReferral.getTtl()).thenReturn(300); when(mockReferral.getRFlags()).thenReturn(0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceLocator.java
* itself. */ String getName(); /** * Returns the DFS referral data associated with this resource if it has been resolved through DFS. * * @return dfs referral data */ DfsReferralData getDfsReferral(); /** * Everything but the last component of the URL representing this SMBRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorInternal.java
* @throws CIFSException if an error occurs during comparison */ boolean overlaps(SmbResourceLocator other) throws CIFSException; /** * Internal: for testing only * * @param dr the DFS referral data to process * @param reqPath the requested path to resolve * @return resolved unc path */ String handleDFSReferral(DfsReferralData dr, String reqPath);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/DfsReferralDataTest.java
// Then assertEquals(expiration, result); verify(mockReferralData).getExpiration(); } @Test @DisplayName("Should get next referral") void testNext() { // Given DfsReferralData nextReferral = mock(DfsReferralData.class); when(mockReferralData.next()).thenReturn(nextReferral); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0)