- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for getCapabilities (0.12 seconds)
-
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java
private int securityMode; private int dialect; /** * Gets the server capabilities * * @return the capabilities flags from the server */ public int getCapabilities() { return this.capabilities; } /** * Gets the server GUID * * @return the server's unique identifier */ public byte[] getServerGuid() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
return this.shareFlags; } /** * Returns the capabilities of the connected share. * * @return the capabilities */ public int getCapabilities() { return this.capabilities; } /** * Returns the maximal access rights that the user has on this share. * * @return the maximalAccess */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/jcifs/config/DelegatingConfiguration.java
return this.delegate.getVcNumber(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getCapabilities() */ @Override public int getCapabilities() { return this.delegate.getCapabilities(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getFlags2() */ @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
* @param ctx the CIFS context */ public SmbComNegotiateResponse(final CIFSContext ctx) { super(ctx.getConfig()); this.server = new ServerData(); this.capabilities = ctx.getConfig().getCapabilities(); this.negotiatedFlags2 = ctx.getConfig().getFlags2(); this.maxMpxCount = ctx.getConfig().getMaxMpxCount(); this.snd_buf_size = ctx.getConfig().getSendBufferSize();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
} /** * Gets the client capabilities flags. * * @return the capabilities */ public int getCapabilities() { return this.capabilities; } /** * Gets the array of SMB dialect versions supported by the client. * * @return the dialects */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
return this.selectedPreauthHash; } /** * Gets the capabilities returned by the server. * * @return the server returned capabilities */ public final int getCapabilities() { return this.capabilities; } /** * Gets the common capabilities negotiated between client and server. * * @return the common/negotiated capabilities */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/test/java/jcifs/config/BaseConfigurationTest.java
assertTrue((testConfig.getCapabilities() & SmbConstants.CAP_NT_SMBS) != 0); assertTrue((testConfig.getCapabilities() & SmbConstants.CAP_STATUS32) != 0); assertTrue((testConfig.getCapabilities() & SmbConstants.CAP_EXTENDED_SECURITY) != 0); assertTrue((testConfig.getCapabilities() & SmbConstants.CAP_LARGE_READX) != 0); assertTrue((testConfig.getCapabilities() & SmbConstants.CAP_LARGE_WRITEX) != 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
int bytesDecoded = response.decode(buffer, bufferIndex, 24); // Verify results assertEquals(24, bytesDecoded, "Should decode exactly 24 bytes"); assertEquals(testCapabilities, response.getCapabilities(), "Capabilities should match"); assertArrayEquals(testGuid, response.getServerGuid(), "Server GUID should match"); assertEquals(testSecurityMode, response.getSecurityMode(), "Security mode should match");
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/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// Given when(mockConfig.isDfsDisabled()).thenReturn(false); // When request = new Smb2NegotiateRequest(mockConfig, 0); // Then assertTrue((request.getCapabilities() & Smb2Constants.SMB2_GLOBAL_CAP_DFS) != 0); } @Test @DisplayName("Should not set DFS capability when disabled") void testNoDfsCapability() { // GivenCreated: 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
void testGetCapabilities() throws Exception { // Given setPrivateField(response, "capabilities", 0x7F); // When int caps = response.getCapabilities(); // Then assertEquals(0x7F, caps); } @Test @DisplayName("Should return common capabilities") void testGetCommonCapabilities() throws Exception {
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)