Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getChallenge (0.13 sec)

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

            };
    
            Type2Message t2 = new Type2Message(this.context, flags, challenge, target);
            Type2Message parsed = new Type2Message(t2.toByteArray());
            assertArrayEquals(challenge, parsed.getChallenge());
            assertEquals(target, parsed.getTarget());
        }
    
    
        @Test
        public void testParsingType2NoTarget () throws IOException {
            int flags = 0;
            byte[] challenge = new byte[] {
    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. src/main/java/jcifs/SmbTransportPool.java

         * @throws CIFSException
         * @deprecated functionality is broken and will be removed at some point,
         *             use actual Active Directory authentication instead
         */
        @Deprecated
        byte[] getChallenge ( CIFSContext tc, Address dc ) throws CIFSException;
    
    
        /**
         * Get NTLM challenge from a server
         * 
         * @param dc
         * @param port
         * @param tc
         * @return NTLM challenge
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmServlet.java

                    dc = UniAddress.getByName( domainController, true );
                }
                NtlmPasswordAuthentication ntlm;
                if (msg.startsWith("NTLM ")) {
                    byte[] challenge = SmbSession.getChallenge(dc);
                    ntlm = NtlmSsp.authenticate(request, response, challenge);
                    if (ntlm == null) return;
                } else {
                    String auth = new String(Base64.decode(msg.substring(6)),
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                            if (log.level >= 6)
                                Hexdump.hexdump(log, token, 0, token.length);
                        }
    
                        serverChallenge = msg2.getChallenge();
                        ntlmsspFlags &= msg2.getFlags();
    
    //                  netbiosName = getNtlmsspListItem(token, 0x0001);
    
                        Type3Message msg3 = new Type3Message(msg2,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmServlet.java

                }
                NtlmPasswordAuthentication ntlm;
                if ( msg.startsWith("NTLM ") ) {
                    byte[] challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc);
                    ntlm = NtlmSsp.authenticate(getTransportContext(), request, response, challenge);
                    if ( ntlm == null )
                        return;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.6K bytes
    - Viewed (0)
Back to top