Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for NTLM (0.26 sec)

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

                ssn.setAttribute("NtlmHttpAuth", ntlm);
                ssn.setAttribute("ntlmdomain", ntlm.getDomain());
                ssn.setAttribute("ntlmuser", ntlm.getUsername());
            } else {
                final HttpSession ssn = request.getSession(false);
                if (ssn == null || ssn.getAttribute("NtlmHttpAuth") == null) {
                    response.setHeader("WWW-Authenticate", "NTLM");
                    if (offerBasic) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

        }
    
        @Test
        @DisplayName("auth type is always NTLM")
        void testAuthTypeConstant(@Mock HttpServletRequest mockRequest, @Mock Principal mockPrincipal) {
            // No need to stub getName() since we're not calling getRemoteUser()
            NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, mockPrincipal);
            assertEquals("NTLM", request.getAuthType());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmSsp.java

     * {@code NtlmServlet}, and {@code NetworkExplorer} to negotiate password
     * 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/SmbjEngine.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http.ntlm;
    
    import org.apache.http.impl.auth.NTLMEngine;
    import org.apache.http.impl.auth.NTLMEngineException;
    
    /**
     * SmbjEngine is a NTLM Engine implementation based on smbj.
     *
     * @author shinsuke
     *
     */
    public class SmbjEngine implements NTLMEngine {
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

         * Verifies that the method always returns "NTLM".
         */
        @Test
        void testGetAuthType() {
            // Arrange: Define the expected authentication type
            String expectedAuthType = "NTLM";
    
            // Act: Call the method under test
            String actualAuthType = ntlmRequest.getAuthType();
    
            // Assert: Verify that the returned authentication type is "NTLM"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

            NtlmPasswordAuthentication ntlm = negotiate(req, resp, false);
    
            if (ntlm == null) {
                return;
            }
    
            chain.doFilter(new NtlmHttpServletRequest(req, ntlm), response);
        }
    
        /**
         * Negotiate password hashes with MSIE clients using NTLM SSP
         * @param req The servlet request
         * @param resp The servlet response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // This test is simplified to verify basic handshake behavior
            // Full NTLM handshake testing would require more complex mocking
    
            // Arrange - Mock a server that supports NTLM
            mockResponse(HTTP_UNAUTHORIZED, "Unauthorized", Collections.singletonMap("WWW-Authenticate", Collections.singletonList("NTLM")),
                    new ByteArrayInputStream(new byte[0]));
    
            // Act - Trigger handshake
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmServlet.java

                }
                NtlmPasswordAuthentication ntlm;
                if (msg.startsWith("NTLM ")) {
                    final byte[] challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc);
                    ntlm = NtlmSsp.authenticate(getTransportContext(), request, response, challenge);
                    if (ntlm == null) {
                        return;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

            NtlmPasswordAuthentication ntlm = negotiate(req, resp, false);
    
            if (ntlm == null) {
                return;
            }
    
            chain.doFilter(new NtlmHttpServletRequest(req, ntlm), response);
        }
    
        /**
         * Negotiate password hashes with MSIE clients using NTLM SSP
         *
         * @param req
         *            The servlet request
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top