- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for NTLM (0.05 sec)
-
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/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/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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
public boolean equals(Object obj) { if (obj instanceof NtlmPasswordAuthenticator ntlm) { String domA = ntlm.getUserDomain() != null ? ntlm.getUserDomain().toUpperCase() : null; String domB = this.getUserDomain() != null ? this.getUserDomain().toUpperCase() : null; return ntlm.type == this.type && Objects.equals(domA, domB) && ntlm.getUsername().equalsIgnoreCase(this.getUsername())
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.6K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0)