- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 55 for NtlmPasswordAuthentication (0.53 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb1/smb1/SmbSession.java
if (auth.hashesExternal && NtlmPasswordAuthentication.DEFAULT_PASSWORD != NtlmPasswordAuthentication.BLANK) { /* preauthentication */ transport.getSmbSession(NtlmPasswordAuthentication.DEFAULT) .getSmbTree(LOGON_SHARE, null)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 20.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmSsp.java
* @param resp The response. * @param challenge The domain controller challenge. * @return the authenticated NtlmPasswordAuthentication object * @throws IOException If an IO error occurs. * @throws ServletException If an error occurs. */ public NtlmPasswordAuthentication doAuthentication(final HttpServletRequest req, final HttpServletResponse resp, final byte[] challenge)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
} @Override public HashMap getTrustedDomains(NtlmPasswordAuthentication auth) throws SmbAuthException { if (disabled || auth.domain == "?") return null; return super.getTrustedDomains(auth); } @Override public SmbTransport getDc(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException { if (disabled)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
import jakarta.servlet.http.HttpServletResponse; import jakarta.servlet.http.HttpSession; import jcifs.smb1.Config; import jcifs.smb1.UniAddress; import jcifs.smb1.netbios.NbtAddress; import jcifs.smb1.smb1.NtlmPasswordAuthentication; import jcifs.smb1.smb1.SmbAuthException; import jcifs.smb1.smb1.SmbSession; import jcifs.smb1.util.Base64; /** * This servlet may be used with pre-2.3 servlet containers
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) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} return (capabilities & cap) == cap; } boolean isSignatureSetupRequired(final NtlmPasswordAuthentication auth) { return (flags2 & SmbConstants.FLAGS2_SECURITY_SIGNATURES) != 0 && digest == null && auth != NtlmPasswordAuthentication.NULL && !NtlmPasswordAuthentication.NULL.equals(auth); } void ssn139() throws IOException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.8K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmSspTest.java
* @throws IOException */ @Test public void testAuthenticate_Type3Message() throws IOException { // Setup: "Authorization" header with a Type 3 message when(mockRequest.getHeader("Authorization")).thenReturn("NTLM " + type3MessageBase64); // ExecuteCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.4K bytes - Click Count (1) -
src/test/java/jcifs/http/NtlmServletTest.java
ntlmServlet.service(request, response); ArgumentCaptor<NtlmPasswordAuthentication> authCaptor = ArgumentCaptor.forClass(NtlmPasswordAuthentication.class); verify(session).setAttribute(eq("NtlmHttpAuth"), authCaptor.capture()); NtlmPasswordAuthentication capturedAuth = authCaptor.getValue(); assertEquals("user", capturedAuth.getUsername());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
* @throws ServletException if a servlet error occurs */ protected NtlmPasswordAuthentication negotiate(final HttpServletRequest req, final HttpServletResponse resp, final boolean skipAuthentication) throws IOException, ServletException { UniAddress dc; String msg; NtlmPasswordAuthentication ntlm = null; msg = req.getHeader("Authorization");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
Properties props = new Properties(); props.setProperty("jcifs.smb.client.domain", "TEST_DOMAIN"); CIFSContext context = new BaseContext(new PropertyConfiguration(props)); NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(context, "TEST_DOMAIN", "user", "pass"); when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(auth); filter.doFilter(request, response, filterChain);
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/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
capabilities = session.transport.capabilities; if (session.transport.server.security == SECURITY_USER) { if (cred instanceof final NtlmPasswordAuthentication auth) { if (auth == NtlmPasswordAuthentication.ANONYMOUS) { lmHash = new byte[0]; ntHash = new byte[0]; capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.1K bytes - Click Count (0)