- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 61 for NtlmPasswordAuthentication (0.86 seconds)
-
src/test/java/jcifs/http/NetworkExplorerTest.java
resp.setContentType("text/html"); } }; networkExplorer.init(servletConfig); // Setup authentication NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(SingletonContext.getInstance(), "DOMAIN", "user", "pass"); when(session.getAttribute("npa-workgroup")).thenReturn(auth); when(request.getPathInfo()).thenReturn("/workgroup/server/share/");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 21.2K 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) -
src/main/java/jcifs/smb1/smb1/SID.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java
* @param url the URL that requires authentication * @param sae the authentication exception that was thrown * @return credentials returned by prompt or null if none available */ public static NtlmPasswordAuthentication requestNtlmPasswordAuthentication(final String url, final SmbAuthException sae) { if (auth == null) { return null; } synchronized (auth) { auth.url = url;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.7K bytes - Click Count (0) -
src/main/java/jcifs/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 { Address 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 - 15.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
// NTLMv1 w/ NTLM2 session sec and key exch all been verified with a debug build of smbclient final byte[] responseKeyNT = NtlmPasswordAuthentication.nTOWFv1(password); final byte[] ntlm2Response = NtlmPasswordAuthentication.getNTLM2Response(responseKeyNT, type2.getChallenge(), clientChallenge); setLMResponse(clientChallenge);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
* @return a map of trusted domain names to domain controllers * @throws SmbAuthException if authentication fails */ public HashMap getTrustedDomains(final NtlmPasswordAuthentication auth) throws SmbAuthException { if (DISABLED || auth.domain == "?") { return null; } if (_domains != null && System.currentTimeMillis() > _domains.expiration) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
when(mockConnection.getURL()).thenReturn(mockUrl); when(mockConnection.getRequestProperties()).thenReturn(new HashMap<>()); // Mock CIFSContext behavior NtlmPasswordAuthentication creds = new NtlmPasswordAuthentication( new BaseContext(new PropertyConfiguration(System.getProperties())), "domain", "user", "password"); when(mockCifsContext.getCredentials()).thenReturn(creds);
Created: 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/http/NtlmServlet.java
import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Config; import jcifs.config.PropertyConfiguration; import jcifs.context.BaseContext; import jcifs.netbios.UniAddress; import jcifs.smb.NtlmPasswordAuthentication; import jcifs.smb.SmbAuthException; /** * This servlet may be used with pre-2.3 servlet containers * to protect content with NTLM HTTP Authentication. Servlets that
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)