- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for isSecure (1.21 sec)
-
src/test/java/jcifs/http/NtlmServletTest.java
ntlmServlet.init(servletConfig); when(request.getHeader("Authorization")).thenReturn(null); when(request.getSession(false)).thenReturn(null); lenient().when(request.isSecure()).thenReturn(true); ntlmServlet.service(request, response); verify(response).setHeader("WWW-Authenticate", "NTLM"); verify(response).addHeader("WWW-Authenticate", "Basic realm=\"TestRealm\"");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
UniAddress dc; String msg; NtlmPasswordAuthentication ntlm = null; msg = req.getHeader("Authorization"); final boolean offerBasic = enableBasic && (insecureBasic || req.isSecure()); if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) { if (msg.startsWith("NTLM ")) { final HttpSession ssn = req.getSession();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
} /** * Determines whether the user identification cookie should be marked as secure. * Checks the configured secure setting or examines request headers to detect HTTPS. * * @return true if the cookie should be secure, false otherwise */ protected boolean isSecureCookie() { if (cookieSecure != null) { return cookieSecure;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
filter.init(filterConfig); // Test request over insecure connection when(request.getHeader("Authorization")).thenReturn(null); when(request.isSecure()).thenReturn(false); when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null); filter.doFilter(request, response, filterChain);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
Address dc; String msg; NtlmPasswordAuthentication ntlm = null; msg = req.getHeader("Authorization"); final boolean offerBasic = this.enableBasic && (this.insecureBasic || req.isSecure()); if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) { if (msg.startsWith("NTLM ")) { final HttpSession ssn = req.getSession();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
possibleWorkgroup = false; } } msg = req.getHeader("Authorization"); offerBasic = this.enableBasic && (this.insecureBasic || req.isSecure()); if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) { if (msg.startsWith("NTLM ")) { byte[] challenge;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
final String forwardedProto = request.getHeader("X-Forwarded-Proto"); if ("https".equalsIgnoreCase(forwardedProto)) { return true; } return request.isSecure(); } return Constants.TRUE.equalsIgnoreCase(secure); } /** * Interface for rewriting search request parameters. *
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 36.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
possibleWorkgroup = false; } } msg = req.getHeader("Authorization"); offerBasic = enableBasic && (insecureBasic || req.isSecure()); if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) { if (msg.startsWith("NTLM ")) { byte[] challenge;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
case 1: // NTLMv1 - deprecated and insecure log.warn("NTLMv1 LM response is deprecated and insecure. Consider using NTLMv2."); return NtlmUtil.getPreNTLMResponse(tc, getPasswordAsCharArray(), chlng); case 2: // NTLMv1 with NTLM response - still insecure log.warn("NTLMv1 NTLM response is deprecated and insecure. Consider using NTLMv2.");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Then assertNotNull(nonce1, "First secure nonce should not be null"); assertNotNull(nonce2, "Second secure nonce should not be null"); assertFalse(Arrays.equals(nonce1, nonce2), "Secure nonces should be different"); assertTrue(nonce1.length > 0, "Secure nonce should have proper length"); } @Test @DisplayName("Should handle concurrent secure nonce generation safely")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0)