Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 98 for ntlm (1.29 sec)

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

     * hashes via NTLM SSP with MSIE. It might also be used directly by servlet
     * containers to incorporate similar functionality.
     * <p>
     * How NTLMSSP is used in conjunction with HTTP and MSIE clients is
     * described in an <A HREF="http://www.innovation.ch/java/ntlm.html">NTLM
     * Authentication Scheme for HTTP</A>.  <p> Also, read <a
     * href="../../../ntlmhttpauth.html">jCIFS NTLM HTTP Authentication and
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            // Should only offer NTLM, not Basic auth
            verify(response).setHeader("WWW-Authenticate", "NTLM");
            verify(response, never()).addHeader(eq("WWW-Authenticate"), eq("Basic realm=\"TestRealm\""));
        }
    
        @Test
        void testDoFilter_ntlmType1Message() throws Exception {
            // Test NTLM Type 1 message handling
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

        static {
            String domain = System.getProperty("http.auth.ntlm.domain");
            if (domain == null) {
                domain = Type3Message.getDefaultDomain();
            }
            DEFAULT_DOMAIN = domain;
        }
    
        /**
         * Creates a new NTLM HTTP URL connection that wraps an existing HTTP connection.
         *
         * @param connection the HTTP connection to wrap for NTLM authentication
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmChallenge.java

        /**
         * Challenge
         */
        public byte[] challenge;
    
        /**
         * Server address
         */
        public UniAddress dc;
    
        /**
         * Creates a new NTLM challenge with the specified parameters.
         * @param challenge the NTLM challenge bytes
         * @param dc the domain controller address
         */
        public NtlmChallenge(final byte[] challenge, final UniAddress dc) {
            this.challenge = challenge;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

        void createContext_forceFallback_triggersNtlmAndFailsOnNonNtlmToken() throws CIFSException {
            when(tc.getConfig()).thenReturn(config);
            when(config.isAllowNTLMFallback()).thenReturn(true);
            when(config.isUseRawNTLM()).thenReturn(false);
    
            // Enable NTLM fallback by providing NTLM creds in constructor
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                    if (hashesExternal && ntlm.hashesExternal) {
                        return Arrays.equals(ansiHash, ntlm.ansiHash) && Arrays.equals(unicodeHash, ntlm.unicodeHash);
                        /* This still isn't quite right. If one npa object does not have external
                         * hashes and the other does then they will not be considered equal even
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmSspTest.java

            verify(mockResponse).setHeader("WWW-Authenticate", "NTLM");
            verify(mockResponse).setStatus(HttpServletResponse.SC_UNAUTHORIZED);
            verify(mockResponse).setContentLength(0);
            verify(mockResponse).flushBuffer();
        }
    
        /**
         * Test case for when the 'Authorization' header contains a Type 1 NTLM message.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  8. src/test/java/jcifs/http/NtlmServletTest.java

            verify(response).setHeader("WWW-Authenticate", "NTLM");
            verify(response).addHeader("WWW-Authenticate", "Basic realm=\"TestRealm\"");
            verify(response).setStatus(HttpServletResponse.SC_UNAUTHORIZED);
        }
    
        /**
         * Test the service method with a valid NTLM Authorization header.
         * Simulates a successful NTLM authentication.
         * @throws ServletException
         * @throws IOException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

            if (super.equals(obj)) {
                if (!(obj instanceof final NtlmPasswordAuthentication ntlm)) {
                    return !this.areHashesExternal();
                }
                if (this.areHashesExternal() && ntlm.areHashesExternal()) {
                    return Arrays.equals(this.ansiHash, ntlm.ansiHash) && Arrays.equals(this.unicodeHash, ntlm.unicodeHash);
                    /*
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    ntlm = new NtlmPasswordAuthentication(domain, user, password);
                }
    
                req.getSession().setAttribute("npa-" + server, ntlm);
    
            } else if (!credentialsSupplied) {
                if (ssn != null) {
                    ntlm = (NtlmPasswordAuthentication) ssn.getAttribute("npa-" + server);
                }
                if (ntlm == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top