Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 61 for NtlmPasswordAuthenticator (0.53 seconds)

  1. 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 = "";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  2. 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));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  3. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  4. 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");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. 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 */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

    Shinsuke Sugaya <******@****.***> 1755149504 +0900
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

    Shinsuke Sugaya <******@****.***> 1755307968 +0900
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  8. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  9. 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());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 09:24:52 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top