- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for SmbAuthException (0.87 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/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/DfsImplTest.java
@Test void testIsTrustedDomain_DfsDisabled() throws SmbAuthException { // Scenario: DFS is disabled in the configuration. when(mockConfig.isDfsDisabled()).thenReturn(true); assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com")); } @Test void testIsTrustedDomain_NoUserDomain() throws SmbAuthException { // Scenario: The user credentials do not specify a domain.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java
/** * Gets the authentication exception that triggered this request. * @return the authentication exception */ protected final SmbAuthException getRequestingException() { return 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 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextCredentialWrapper.java
package jcifs.context; import jcifs.CIFSContext; import jcifs.Credentials; import jcifs.smb.CredentialsInternal; import jcifs.smb.NtlmAuthenticator; import jcifs.smb.NtlmPasswordAuthenticator; import jcifs.smb.SmbAuthException; import jcifs.smb.SmbRenewableCredentials; /** * Context wrapper supplying alternate credentials * * @author mbechler * */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.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 - 7.5K bytes - Viewed (0)