Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for challenges (0.28 sec)

  1. src/main/java/jcifs/smb/NtlmChallenge.java

        /**
         * Challenge
         */
        public byte[] challenge;
    
        /**
         * Server address
         */
        public UniAddress dc;
    
    
        /**
         * @param challenge
         * @param dc
         */
        public NtlmChallenge ( byte[] challenge, UniAddress dc ) {
            this.challenge = challenge;
            this.dc = dc;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  2. 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());
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 16 10:38:43 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmSsp.java

         * @param resp The response.
         * @param challenge The domain controller challenge.
         * @throws IOException If an IO error occurs.
         * @throws ServletException If an error occurs.
         */
        public NtlmPasswordAuthentication doAuthentication(
                HttpServletRequest req, HttpServletResponse resp, byte[] challenge)
                        throws IOException, ServletException {
    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)
  4. src/main/java/jcifs/smb/NtlmUtil.java

         *            The user's password.
         * @param challenge
         *            The server challenge.
         * @param clientChallenge
         *            The client challenge (nonce).
         * @return the calculated response
         * @throws GeneralSecurityException
         */
        public static byte[] getLMv2Response ( String domain, String user, String password, byte[] challenge, byte[] clientChallenge )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 9.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmSsp.java

         *            The response.
         * @param challenge
         *            The domain controller challenge.
         * @return credentials passed in the servlet request
         * @throws IOException
         *             If an IO error occurs.
         */
        public NtlmPasswordAuthentication doAuthentication ( CIFSContext tc, HttpServletRequest req, HttpServletResponse resp, byte[] challenge )
                throws IOException {
    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)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * 
         * @param domain
         * @param username
         * @param challenge
         * @param ansiHash
         * @param unicodeHash
         */
        public NtlmPasswordAuthentication ( String domain, String username, byte[] challenge, byte[] ansiHash, byte[] unicodeHash ) {
            super(domain, username, null);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 8.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmChallenge.java

    public final class NtlmChallenge implements Serializable {
    
        public byte[] challenge;
        public UniAddress dc;
    
        NtlmChallenge( byte[] challenge, UniAddress dc ) {
            this.challenge = challenge;
            this.dc = dc;
        }
    
        public String toString() {
            return "NtlmChallenge[challenge=0x" +
                    Hexdump.toHexString( challenge, 0, challenge.length * 2 ) +
                    ",dc=" + dc.toString() + "]";
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbTransportPool.java

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

                }
                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)),
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.8K bytes
    - Viewed (0)
  10. 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;
                }
                else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.6K bytes
    - Viewed (0)
Back to top