Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 61 for NtlmSsp (0.15 seconds)

  1. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

    package jcifs.ntlmssp.av;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.Configuration;
    
    class AvSingleHostTest {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

    package jcifs.ntlmssp.av;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    import org.junit.jupiter.api.Test;
    
    public class AvFlagsTest {
    
        /**
         * Test constructor with raw bytes.
         */
        @Test
        void testAvFlagsByteArrayConstructor() {
            // Test with a positive integer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

    package jcifs.ntlmssp.av;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    import java.nio.charset.StandardCharsets;
    
    import org.junit.jupiter.api.Test;
    
    class AvTargetNameTest {
    
        /**
         * Test constructor with raw bytes.
         * Verifies that the AvPair type is correctly set and raw bytes are stored.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

            case NtStatus.NT_STATUS_BUFFER_OVERFLOW:
                break; /* normal for DCERPC named pipes */
            case NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED:
                break; /* normal for NTLMSSP */
            default:
                if (log.isDebugEnabled()) {
                    log.debug("Error code: 0x" + Hexdump.toHexString(resp.getErrorCode(), 8) + " for " + req.getClass().getSimpleName());
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

    package jcifs.ntlmssp;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.io.IOException;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    import org.junit.jupiter.api.BeforeEach;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

            this.context = tc;
        }
    
        /**
         * Create an {@code NtlmPasswordAuthentication} object with raw password
         * hashes. This is used exclusively by the {@code jcifs.http.NtlmSsp}
         * class which is in turn used by NTLM HTTP authentication functionality.
         *
         * @param domain the authentication domain
         * @param username the username to authenticate with
    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)
  7. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                    } else {
                        dc = UniAddress.getByName(domainController, true);
                        challenge = SmbSession.getChallenge(dc);
                    }
    
                    ntlm = NtlmSsp.authenticate(req, resp, challenge);
                    if (ntlm == null) {
                        return null;
                    }
                    /* negotiation complete, remove the challenge object */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            // Test NTLM Type 1 message handling
            // This test verifies that when a Type 1 NTLM message is received,
            // the filter processes it correctly through NtlmSsp.authenticate
    
            // Create a minimal filter config that won't try to connect to a real server
            Map<String, String> initParams = new HashMap<>();
            initParams.put("jcifs.smb.client.domain", "TEST_DOMAIN");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

                        challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc);
                    }
    
                    ntlm = NtlmSsp.authenticate(getTransportContext(), req, resp, challenge);
                    if (ntlm == null) {
                        return null;
                    }
                    /* negotiation complete, remove the challenge object */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

    package jcifs.ntlmssp.av;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
Back to Top