- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for NtlmPasswordAuthenticator (0.22 sec)
-
src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java
this.ntHash = passwordHash; } /** * {@inheritDoc} * * @see jcifs.smb.NtlmPasswordAuthenticator#getNTHash() */ @Override protected byte[] getNTHash() { return this.ntHash; } @Override public NtlmPasswordAuthenticator clone() { final NtlmNtHashAuthenticator cloned = new NtlmNtHashAuthenticator(this.ntHash.clone());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
} @Test public void testEqualsWithPassword() { NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("DOMAIN", "user", "pass123"); NtlmPasswordAuthenticator auth2 = new NtlmPasswordAuthenticator("DOMAIN", "user", "pass123"); NtlmPasswordAuthenticator auth3 = new NtlmPasswordAuthenticator("DOMAIN", "user", "differentPass");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
assertNotNull(wrappedContext); assertTrue(wrappedContext instanceof CIFSContextCredentialWrapper); // Verify that the new context uses NtlmPasswordAuthenticator (anonymous) assertTrue(wrappedContext.getCredentials() instanceof NtlmPasswordAuthenticator); assertTrue(wrappedContext.getCredentials().isAnonymous()); } @Test void testWithDefaultCredentials() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/context/AbstractCIFSContext.java
package jcifs.context; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Credentials; import jcifs.smb.NtlmPasswordAuthenticator; import jcifs.smb.NtlmPasswordAuthenticator.AuthenticationType; /** * Abstract base implementation of CIFSContext providing common functionality. * This class serves as a foundation for concrete CIFS context implementations. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
* <p> * Read <a href="../../../authhandler.html">jCIFS Exceptions and * NtlmAuthenticator</a> for related information. * * @deprecated use {@link NtlmPasswordAuthenticator} instead */ @Deprecated public class NtlmPasswordAuthentication extends NtlmPasswordAuthenticator { /** * */ private static final long serialVersionUID = -2832037191318016836L; /** The ANSI password hash */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.3K bytes - Viewed (0) -
README.md
### With Authentication ```java import jcifs.CIFSContext; import jcifs.context.BaseContext; import jcifs.smb.NtlmPasswordAuthenticator; // Create context with credentials CIFSContext context = new BaseContext(new jcifs.config.PropertyConfiguration()); NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("domain", "username", "password"); CIFSContext authContext = context.withCredentials(auth); // Use authenticated context
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { if (this.server.security == SmbConstants.SECURITY_SHARE && this.ctx.getCredentials() instanceof NtlmPasswordAuthenticator) { final NtlmPasswordAuthenticator pwAuth = (NtlmPasswordAuthenticator) this.ctx.getCredentials(); if (isExternalAuth(pwAuth)) { this.passwordLength = 1; } else if (this.server.encryptedPasswords) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
* * @param url the URL that requires authentication * @param sae the authentication exception that was thrown * @return credentials returned by prompt */ public static NtlmPasswordAuthenticator requestNtlmPasswordAuthentication(final String url, final SmbAuthException sae) { return requestNtlmPasswordAuthentication(auth, url, sae); } /**
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/internal/smb1/com/SmbComSessionSetupAndXTest.java
this.encryptionKey = new byte[0]; } } @Test void anonymousGuestCredentials() throws Exception { setupNegotiateStubs(); NtlmPasswordAuthenticator auth = mock(NtlmPasswordAuthenticator.class); when(auth.isAnonymous()).thenReturn(true); when(auth.isGuest()).thenReturn(true); when(auth.getUsername()).thenReturn("guest");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K 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)