- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for NtlmPasswordAuthentication (0.13 sec)
-
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
return NtlmPasswordAuthentication.computeResponse(responseKeyNT, serverChallenge, temp, 0, temp.length); } static final NtlmPasswordAuthentication NULL = new NtlmPasswordAuthentication("", "", ""); static final NtlmPasswordAuthentication GUEST = new NtlmPasswordAuthentication("?", "GUEST", ""); static final NtlmPasswordAuthentication DEFAULT = new NtlmPasswordAuthentication(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
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)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (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 {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
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());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
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/");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (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);
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/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");
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/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); // Execute
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/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);
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/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");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0)