Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Type2Message (0.06 sec)

  1. src/test/java/jcifs/tests/NtlmTest.java

            String target = "TARGET";
            byte[] challenge = new byte[] {
                0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8
            };
    
            Type2Message t2 = new Type2Message(this.context, flags, challenge, target);
            Type2Message parsed = new Type2Message(t2.toByteArray());
            assertArrayEquals(challenge, parsed.getChallenge());
            assertEquals(target, parsed.getTarget());
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 16 10:38:43 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java

                final String challenge) throws NTLMEngineException {
            Type2Message type2Message;
            try {
                type2Message = new Type2Message(Base64.getDecoder().decode(challenge));
            } catch (final IOException exception) {
                throw new NTLMEngineException("Invalid NTLM type 2 message", exception);
            }
            final int type2Flags = type2Message.getFlags();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmSsp.java

                byte[] src = Base64.decode(msg.substring(5));
                if ( src[ 8 ] == 1 ) {
                    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);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmSsp.java

                byte[] src = Base64.decode(msg.substring(5));
                if (src[8] == 1) {
                    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) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                    }
    
                    state++;
                    break;
                case 2:
                    try {
                        Type2Message msg2 = new Type2Message(token);
    
                        if (log.level >= 4) {
                            log.println(msg2);
                            if (log.level >= 6)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.9K bytes
    - Viewed (0)
Back to top