- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for withAnonymousCredentials (0.23 sec)
-
src/test/java/jcifs/context/CIFSContextWrapperTest.java
@Test void testWithAnonymousCredentials() { // Test withAnonymousCredentials() method CIFSContext mockNewContext = mock(CIFSContext.class); when(mockDelegate.withAnonymousCredentials()).thenReturn(mockNewContext); assertEquals(mockNewContext, cifsContextWrapper.withAnonymousCredentials()); verify(mockDelegate).withAnonymousCredentials(); } @Test void testWithGuestCrendentials() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
if (trans != null) { // get domain referral initial = trans.getDfsReferrals(tf.withAnonymousCredentials(), "", trans.getRemoteHostName(), authDomain, 0); } if (initial != null) { final DfsReferralDataInternal start = initial.unwrap(DfsReferralDataInternal.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 29.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
// refresh anonymous session or fallback to anonymous from guest login try (SmbSessionInternal s = trans.getSmbSession(this.ctx.withAnonymousCredentials(), treesess.getTargetHost(), treesess.getTargetDomain()) .unwrap(SmbSessionInternal.class); SmbTreeImpl tr = s.getSmbTree(share, null).unwrap(SmbTreeImpl.class)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0)