- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for NtlmPasswordAuthenticator (0.37 sec)
-
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
/** * Construct anonymous credentials */ public NtlmPasswordAuthenticator() { this(AuthenticationType.NULL); } /** * Create an NtlmPasswordAuthenticator with the specified authentication type. * * @param type the authentication type to use */ public NtlmPasswordAuthenticator(AuthenticationType type) { this.domain = ""; this.username = "";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
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/NtlmPasswordAuthenticatorTimingAttackTest.java
// Create authenticators NtlmPasswordAuthenticator baseAuth = new NtlmPasswordAuthenticator("domain", "user", new String(basePassword)); NtlmPasswordAuthenticator startAuth = new NtlmPasswordAuthenticator("domain", "user", new String(diffAtStart)); NtlmPasswordAuthenticator middleAuth = new NtlmPasswordAuthenticator("domain", "user", new String(diffAtMiddle));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
char[] password3 = "DifferentPass!".toCharArray(); NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("DOMAIN", "user", password1); NtlmPasswordAuthenticator auth2 = new NtlmPasswordAuthenticator("DOMAIN", "user", password2); NtlmPasswordAuthenticator auth3 = new NtlmPasswordAuthenticator("DOMAIN", "user", password3); // Test equality with same password
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.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/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) -
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)