Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for typeID (0.18 sec)

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

                    Type1Message type1 = new Type1Message(src);
                    Type2Message type2 = new Type2Message(type1, challenge, null);
                    msg = Base64.encode(type2.toByteArray());
                    resp.setHeader( "WWW-Authenticate", "NTLM " + msg );
                } else if (src[8] == 3) {
                    Type3Message type3 = new Type3Message(src);
                    byte[] lmResponse = type3.getLMResponse();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.4K bytes
    - Viewed (1)
  2. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                }
                Type1Message type1 = (Type1Message) attemptNegotiation(response);
                if (type1 == null) return; // no NTLM
                int attempt = 0;
                while (attempt < MAX_REDIRECTS) {
                    connection.setRequestProperty(authProperty, authMethod + ' ' +
                            Base64.encode(type1.toByteArray()));
                    connection.connect(); // send type 1
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmSsp.java

                    Type1Message type1 = new Type1Message(src);
                    Type2Message type2 = new Type2Message(tc, type1, challenge, null);
                    msg = new String(Base64.encode(type2.toByteArray()), "US-ASCII");
                    resp.setHeader("WWW-Authenticate", "NTLM " + msg);
                }
                else if ( src[ 8 ] == 3 ) {
                    Type3Message type3 = new Type3Message(src);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                offset += ntLength;
                writeSecurityBuffer(type3, 28, offset, domain);
                offset += domainLength;
                writeSecurityBuffer(type3, 36, offset, user);
                offset += userLength;
                writeSecurityBuffer(type3, 44, offset, workstation);
                offset += workstationLength;
                writeSecurityBuffer(type3, 52, offset, sessionKey);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type2Message.java

         * 
         * @param tc
         *            context to use
         * @param type1
         *            The Type-1 message which this represents a response to.
         */
        public Type2Message ( CIFSContext tc, Type1Message type1 ) {
            this(tc, type1, null, null);
        }
    
    
        /**
         * Creates a Type-2 message in response to the given Type-1 message.
         * 
         * @param tc
         *            context to use
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                            0xffffffff);
                }
                byte[] type1 = new byte[hostInfo ?
                        (32 + domain.length + workstation.length) : 16];
                System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, 8);
                writeULong(type1, 8, 1);
                writeULong(type1, 12, flags);
                if (hostInfo) {
                    writeSecurityBuffer(type1, 16, 32, domain);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                        return;
                    }
                    NtlmMessage type3 = attemptNegotiation(response);
                    if ( type3 == null )
                        return;
                    this.connection.setRequestProperty(this.authProperty, this.authMethod + ' ' + Base64.toBase64String(type3.toByteArray()));
                    this.connection.connect(); // send type 3
                    if ( this.cachedOutput != null && this.doOutput ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 25.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

            this(type1, null, null);
        }
    
        /**
         * Creates a Type-2 message in response to the given Type-1 message.
         *
         * @param type1 The Type-1 message which this represents a response to.
         * @param challenge The challenge from the domain controller/server.
         * @param target The authentication target.
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type1Message.java

                }
    
                byte[] type1 = new byte[size];
                int pos = 0;
    
                System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, NTLMSSP_SIGNATURE.length);
                pos += NTLMSSP_SIGNATURE.length;
    
                writeULong(type1, pos, NTLMSSP_TYPE1);
                pos += 4;
    
                writeULong(type1, pos, flags);
                pos += 4;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Sep 02 12:55:08 GMT 2018
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/Type3Message.java

            byte[] type3 = new byte[size];
            int pos = 0;
    
            System.arraycopy(NTLMSSP_SIGNATURE, 0, type3, 0, 8);
            pos += 8;
    
            writeULong(type3, pos, NTLMSSP_TYPE3);
            pos += 4;
    
            int lmOff = writeSecurityBuffer(type3, 12, lmResponseBytes);
            pos += 8;
            int ntOff = writeSecurityBuffer(type3, 20, ntResponseBytes);
            pos += 8;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 30.6K bytes
    - Viewed (0)
Back to top