- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getSecurityMode (0.26 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
assertArrayEquals(testGuid, response.getServerGuid(), "Server GUID should match"); assertEquals(testSecurityMode, response.getSecurityMode(), "Security mode should match"); assertEquals(testDialect, response.getDialect(), "Dialect should match"); } @Test @DisplayName("Test decode with different buffer offset")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
request = new Smb2NegotiateRequest(mockConfig, Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED); // Then assertNotNull(request); assertEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED, request.getSecurityMode()); assertFalse(request.isSigningEnforced()); assertTrue(request instanceof ServerMessageBlock2Request); } @Test @DisplayName("Should set DFS capability when enabled")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
return; } final ValidateNegotiateInfoResponse out = resp.getOutputData(ValidateNegotiateInfoResponse.class); if (nego.getSecurityMode() != out.getSecurityMode() || nego.getCapabilities() != out.getCapabilities() || nego.getDialectRevision() != out.getDialect() || !Arrays.equals(nego.getServerGuid(), out.getServerGuid())) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
void testGetSecurityMode() throws Exception { // Given setPrivateField(response, "securityMode", Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED); // When int mode = response.getSecurityMode(); // Then assertEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED, mode); } @Test @DisplayName("Should check capability correctly")
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/nego/Smb2NegotiateResponse.java
return this.serverStartTime; } /** * Gets the security mode flags from the server. * * @return the securityMode */ public int getSecurityMode() { return this.securityMode; } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#haveCapabilitiy(int) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0)