- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 98 for NTLM (0.02 seconds)
-
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) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/WebAuthenticationConfig.java
/** * Gets the NTLM-specific parameters. * Used when authSchemeType is NTLM. * * @return the NTLM parameters */ public Map<String, String> getNtlmParameters() { return ntlmParameters; } /** * Sets the NTLM-specific parameters. * * @param ntlmParameters the NTLM parameters */Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Fri Jan 09 23:46:52 GMT 2026 - 6.9K bytes - Click Count (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());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3.4K bytes - Click Count (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 <aCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (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"
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 2.7K bytes - Click Count (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; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (1) -
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 handshakeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0)