- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 74 for ntlm (0.04 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0)