- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for DfsReferralData (0.15 sec)
-
src/main/java/jcifs/DfsReferralData.java
*/ package jcifs; /** * Information returned in DFS referrals * * @author mbechler * * <p>This interface is intended for internal use.</p> */ public interface DfsReferralData { /** * Unwrap the referral data to a specific implementation type * * @param <T> the target type to unwrap to * @param type the class of the target type
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/smb/DfsReferralTest.java
} /** * Test the toString method. */ @Test void testToString() { // Create a mock DfsReferralData object DfsReferralData mockData = mock(DfsReferralData.class); String expectedToString = "Mock DfsReferralData";
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/DfsReferral.java
/** The underlying DFS referral data */ private final DfsReferralData data; /** * Constructs a DfsReferral with the specified referral data * * @param data the DFS referral data */ public DfsReferral(final DfsReferralData data) { this.data = data; } /** * Get the DFS referral data associated with this referral
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/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
import jcifs.CIFSException; import jcifs.DfsReferralData; import jcifs.SmbResourceLocator; @ExtendWith(MockitoExtension.class) public class SmbResourceLocatorInternalTest { @Mock SmbResourceLocatorInternal locator; @Mock SmbResourceLocator other; @Mock DfsReferralData referral;
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/test/java/jcifs/DfsReferralDataTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; /** * Test class for DfsReferralData interface functionality */ @DisplayName("DfsReferralData Interface Tests") class DfsReferralDataTest extends BaseTest { @Mock private DfsReferralData mockReferralData; @Test @DisplayName("Should define interface methods") void testDfsReferralDataInterface() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
@Override public String getCanonicalURL() { return canonical; } @Override public DfsReferralData getDfsReferral() { return dfsReferral; } public void setDfsReferral(DfsReferralData dfsReferral) { this.dfsReferral = dfsReferral; } @Override public String getUNCPath() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/DfsResolverTest.java
DfsReferralData mockReferralData = mock(DfsReferralData.class); assertDoesNotThrow(() -> dfsResolver.cache(mockContext, "\\\\anyServer\\anyShare\\anyPath", mockReferralData)); } @Test void testCache_InvalidPath() { when(mockConfig.isDfsDisabled()).thenReturn(false); DfsReferralData mockReferralData = mock(DfsReferralData.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorInternal.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; import jcifs.CIFSException; import jcifs.DfsReferralData; import jcifs.SmbResourceLocator; /** * Internal interface for SMB resource locators. * * This interface provides internal methods for locating * and resolving SMB resources. * * @author mbechler
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java
import java.util.Map; import jcifs.DfsReferralData; /** * Internal interface for DFS referral data with extended functionality. * Extends the public DFS referral data interface with internal operations like * hostname resolution and referral data manipulation for internal DFS management. * * @author mbechler */ public interface DfsReferralDataInternal extends DfsReferralData { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/DfsResolver.java
* @return the final referral for the given DFS path * @throws CIFSException if an error occurs during resolution * @throws jcifs.smb.SmbAuthException if authentication fails */ 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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0)