Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 17 of 17 for Type1Message (0.09 seconds)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            try {
                int response = parseResponseCode();
                if (response != HTTP_UNAUTHORIZED && response != HTTP_PROXY_AUTH) {
                    return;
                }
                final Type1Message type1 = (Type1Message) attemptNegotiation(response);
                if (type1 == null) {
                    return; // no NTLM
                }
                int attempt = 0;
                while (attempt < MAX_REDIRECTS) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/NtlmContext.java

         * @param token unused in this implementation
         * @return the Type 1 message bytes
         */
        protected byte[] makeNegotiate(final byte[] token) {
            final Type1Message msg1 = new Type1Message(this.transportContext, this.ntlmsspFlags, this.auth.getUserDomain(), this.workstation);
            final byte[] out = msg1.toByteArray();
            this.type1Bytes = out;
    
            if (log.isTraceEnabled()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  3. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            filter.init(filterConfig);
    
            // Test NTLM Type 1 message handling
            byte[] type1Message = new byte[] { 0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00 };
            String authHeader = "NTLM " + new String(org.bouncycastle.util.encoders.Base64.encode(type1Message));
    
            when(request.getHeader("Authorization")).thenReturn(authHeader);
    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)
  4. src/test/java/jcifs/http/NtlmSspTest.java

            lenient().when(mockConfig.getDefaultDomain()).thenReturn("DOMAIN");
            lenient().when(mockConfig.isUseUnicode()).thenReturn(true);
    
            // Mock NameServiceClient for Type1Message test
            lenient().when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
            lenient().when(mockNameServiceClient.getLocalHost()).thenReturn(mockAddress);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.4K bytes
    - Click Count (1)
  5. src/main/java/jcifs/http/NtlmHttpURLConnection.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.RuntimeCIFSException;
    import jcifs.ntlmssp.NtlmFlags;
    import jcifs.ntlmssp.NtlmMessage;
    import jcifs.ntlmssp.Type1Message;
    import jcifs.ntlmssp.Type2Message;
    import jcifs.ntlmssp.Type3Message;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    /**
     * Wraps an <code>HttpURLConnection</code> to provide NTLM authentication
     * services.
     *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

                            } catch (final SmbException se) {
                                /* We must close the transport or the server will be expecting a
                                 * Type3Message. Otherwise, when we send a Type1Message it will return
                                 * "Invalid parameter".
                                 */
                                try {
                                    transport.disconnect(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

                    } catch (SmbException se) {
                        /*
                         * We must close the transport or the server will be expecting a
                         * Type3Message. Otherwise, when we send a Type1Message it will return
                         * "Invalid parameter".
                         */
                        try {
                            log.warn("Exception during SSP authentication", se);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
Back to Top