- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for SmbAuthException (0.65 sec)
-
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
} } @Test @DisplayName("Should pass SmbAuthException to NtlmAuthenticator.requestNtlmPasswordAuthentication") void testRenewCredentials_WithSmbAuthException() { SmbAuthException mockSmbAuthException = mock(SmbAuthException.class); try (MockedStatic<NtlmAuthenticator> mockedNtlmAuthenticator = mockStatic(NtlmAuthenticator.class)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
SmbFile dest = mock(SmbFile.class); SmbAuthException authEx = new SmbAuthException("denied"); when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(authEx); when(dest.getAttributes()).thenReturn(SmbConstants.ATTR_ARCHIVE); // no READONLY bit // Act + Assert SmbAuthException thrown =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
this._domains = entry; if (tf.getConfig().isDfsStrictView() && ioe instanceof SmbAuthException) { throw (SmbAuthException) ioe; } return this._domains.map; } return null; } /** * * {@inheritDoc} *
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/smb1/smb1/Dfs.java
* @param auth the authentication credentials * @return a map of trusted domain names to domain controllers * @throws SmbAuthException if authentication fails */ public HashMap getTrustedDomains(final NtlmPasswordAuthentication auth) throws SmbAuthException { if (DISABLED || auth.domain == "?") { return null; }
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/main/java/jcifs/smb1/smb1/SmbSession.java
* <code>NtlmPasswordAuthentication</code> object against the domain controller * specified by the <code>UniAddress</code> parameter. If the credentials are * not accepted, an <code>SmbAuthException</code> will be thrown. If an error * occurs an <code>SmbException</code> will be thrown. If the credentials are * valid, the method will return without throwing an exception. See the
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
final SmbTreeImpl t, final DfsReferralData referral, final SmbAuthException sae) throws SmbAuthException, CIFSException { try (SmbSessionImpl treesess = t.getSession()) { if (treesess.getCredentials().isAnonymous() || treesess.getCredentials().isGuest()) { // refresh anonymous session or fallback to anonymous from guest login
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/smb1/http/NtlmHttpFilter.java
import jcifs.smb1.Config; import jcifs.smb1.UniAddress; import jcifs.smb1.smb1.NtStatus; import jcifs.smb1.smb1.NtlmChallenge; import jcifs.smb1.smb1.NtlmPasswordAuthentication; import jcifs.smb1.smb1.SmbAuthException; import jcifs.smb1.smb1.SmbSession; import jcifs.smb1.util.Base64; import jcifs.smb1.util.LogStream; /** * This servlet Filter can be used to negotiate password hashes with
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
import jcifs.smb1.UniAddress; import jcifs.smb1.netbios.NbtAddress; import jcifs.smb1.smb1.DfsReferral; import jcifs.smb1.smb1.NtStatus; import jcifs.smb1.smb1.NtlmPasswordAuthentication; import jcifs.smb1.smb1.SmbAuthException; import jcifs.smb1.smb1.SmbException; import jcifs.smb1.smb1.SmbFile; import jcifs.smb1.smb1.SmbFileInputStream; import jcifs.smb1.smb1.SmbSession; import jcifs.smb1.util.Base64; import jcifs.smb1.util.LogStream;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
import jcifs.context.BaseContext; import jcifs.netbios.NbtAddress; import jcifs.smb.DfsReferral; import jcifs.smb.NtStatus; import jcifs.smb.NtlmPasswordAuthentication; import jcifs.smb.SmbAuthException; import jcifs.smb.SmbException; import jcifs.smb.SmbFile; import jcifs.smb.SmbFileInputStream; /** * This servlet may be used to "browse" the entire hierarchy of resources
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
* Private constructor to prevent instantiation of utility class. */ private SmbCopyUtil() { } /** * @param dest * @return * @throws SmbException * @throws SmbAuthException */ static SmbFileHandleImpl openCopyTargetFile(final SmbFile dest, final int attrs, final boolean alsoRead) throws CIFSException { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0)