- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getSecurityMode (0.69 seconds)
-
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")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (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) */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (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")
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/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())) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (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")
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)