- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for SmbAuthException (0.14 sec)
-
src/main/java/jcifs/smb1/smb1/SmbAuthException.java
package jcifs.smb1.smb1; /** * The <code>SmbAuthException</code> encapsulates the variety of * authentication related error codes returned by an SMB server. * <p> * See <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for more information about <code>SmbAuthException</code>. */ public class SmbAuthException extends SmbException { SmbAuthException(final int errcode) { super(errcode, null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbAuthException.java
*/ package jcifs.smb; /** * The <code>SmbAuthException</code> encapsulates the variety of * authentication related error codes returned by an SMB server. * <p> * See <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for more information about * <code>SmbAuthException</code>. */ public class SmbAuthException extends SmbException { /** * */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
void toString_containsClassAndMessage() { // Arrange String msg = "login denied"; SmbAuthException ex = new SmbAuthException(msg); // Act String s = ex.toString(); // Assert assertNotNull(s); assertTrue(s.contains(SmbAuthException.class.getName())); assertTrue(s.contains(msg)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
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/main/java/jcifs/smb/NtlmAuthenticator.java
/** * Gets the authentication exception that triggered this request. * @return the authentication exception */ protected final SmbAuthException getRequestingException() { return this.sae; } /** * Used internally by jCIFS when an <code>SmbAuthException</code> is trapped to retrieve new user credentials. * * @param url the URL that requires authentication
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java
SmbAuthException e = new SmbAuthException(code); assertEquals(expectedMsg, e.getMessage(), "message for code " + Integer.toHexString(code)); assertEquals(SmbException.getStatusByCode(code), e.getNtStatus(), "status for code " + Integer.toHexString(code)); } @Test void negativeCodeDefaultsToUnsuccessful() { SmbAuthException e = new SmbAuthException(-1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
public HashMap getTrustedDomains(NtlmPasswordAuthentication auth) throws SmbAuthException { if (disabled || auth.domain == "?") return null; return super.getTrustedDomains(auth); } @Override public SmbTransport getDc(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException { if (disabled) return null;
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/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)