- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 95 for negotiate2 (0.09 sec)
-
src/test/java/jcifs/config/SecurityConfigurationTest.java
*/ @Test public void testSecureNegotiateRequired() throws CIFSException { BaseConfiguration config = new BaseConfiguration(true); // Verify secure negotiate is required for SMB3 assertTrue("Secure negotiate should be required for SMB3", config.isRequireSecureNegotiate()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
this.encryptionKey = encryptionKey.clone(); this.decryptionKey = decryptionKey.clone(); } } /** * Get the negotiated cipher identifier * @return the negotiated cipher ID */ public int getCipherId() { return this.cipherId; } /** * Get the SMB dialect version * @return the SMB dialect version
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (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 {
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/smb/SMBProtocolDowngradeException.java
*/ package jcifs.smb; import jcifs.CIFSException; /** * Exception thrown when an SMB protocol downgrade attack is detected. * Indicates that the negotiated protocol version is lower than expected or required. * * @author mbechler * */ public class SMBProtocolDowngradeException extends CIFSException { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/SmbNegotiationRequest.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal; /** * Interface for SMB protocol negotiation request messages. * Represents the client's request to negotiate SMB protocol version and capabilities * with the server, including security requirements like message signing. * * @author mbechler */ public interface SmbNegotiationRequest { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(negotiationResponse.canReuse(any(CIFSContext.class), anyBoolean())).thenReturn(true); // Use reflection to set the negotiated response Field negotiatedField = SmbTransportImpl.class.getDeclaredField("negotiated"); negotiatedField.setAccessible(true); negotiatedField.set(initial, negotiationResponse); // When: Request connection with signing enforced
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
byte[] initialHash = preauthService.getCurrentPreauthHash(sessionId); assertNotNull(initialHash); // Update with negotiate message byte[] negotiateMessage = "SMB2 Negotiate Request".getBytes(); preauthService.updatePreauthHash(sessionId, negotiateMessage); byte[] afterNegotiateHash = preauthService.getCurrentPreauthHash(sessionId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
when(transport.isSMB2()).thenReturn(false); when(transport.getContext()).thenReturn(context); when(session.getTargetHost()).thenReturn("localhost"); // Mock negotiate response for SMB1 SmbComNegotiateResponse nego = mock(SmbComNegotiateResponse.class); ServerData serverData = new ServerData(); when(nego.getServerData()).thenReturn(serverData);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0)