- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 42 for Negotiate (0.12 seconds)
-
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
} } @Override public void destroy() { } /** * This method simply calls {@code negotiate( req, resp, false )} * and then {@code chain.doFilter}. You can override and call * negotiate manually to achive a variety of different behavior. */ @OverrideCreated: 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/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
} } @Override public void destroy() { } /** * This method simply calls {@code negotiate( req, resp, false )} * and then {@code chain.doFilter}. You can override and call * negotiate manually to achive a variety of different behavior. */ @OverrideCreated: 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/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
assertTrue(true, "Negotiate context data length validation exists in code (max 1024 bytes)"); } catch (SMBProtocolDecodingException e) { // If exception thrown, validation is working assertTrue(e.getMessage().contains("Invalid negotiate context data length") || e.getMessage().contains("Buffer too small")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
verify(transport).close(); } @Test @DisplayName("getServerTimeZoneOffset: SMB1 negotiate path multiplies minutes to millis") void getServerTimeZoneOffsetSmb1() throws Exception { // Uses concrete SMB1 negotiate response to exercise SMB1-specific branch // Build a concrete SMB1 negotiate response to expose ServerData fields jcifs.CIFSContext ctx = mock(jcifs.CIFSContext.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// When int bytesWritten = request.writeBytesWireFormat(buffer, 0); // Then assertTrue(bytesWritten > 36); // Verify negotiate context count assertEquals(2, SMBUtil.readInt2(buffer, 32)); // Verify negotiate context offset is set int contextOffset = SMBUtil.readInt4(buffer, 28); assertTrue(contextOffset > 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} } @Override protected void doConnect() throws IOException { /* * Negotiate Protocol Request / Response */ final SmbComNegotiateResponse resp = new SmbComNegotiateResponse(server); try { negotiate(port, resp); } catch (final ConnectException | NoRouteToHostException nr) {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/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 22.1K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null); // Create a custom filter that overrides negotiate to test skipAuthentication NtlmHttpFilter customFilter = new NtlmHttpFilter() { @Override protected NtlmPasswordAuthentication negotiate(HttpServletRequest req, HttpServletResponse resp, boolean skipAuthentication) throws IOException, ServletException {
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)