Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getMaximalAccess (0.08 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            assertEquals((byte) 0x01, response.getShareType());
            assertEquals(0x8001, response.getShareFlags());
            assertEquals(0x28, response.getCapabilities());
            assertEquals(0x1F01FF, response.getMaximalAccess());
        }
    
        @DisplayName("Should throw exception for invalid structure size")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 4, 8, 15, 17, 32, 64, 65535 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

            return this.capabilities;
        }
    
        /**
         * Returns the maximal access rights that the user has on this share.
         *
         * @return the maximalAccess
         */
        public int getMaximalAccess() {
            return this.maximalAccess;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.TreeConnectResponse#getTid()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            void testMaximalAccess() throws Exception {
                // Given
                setPrivateField(response, "maximalAccess", 0x001F01FF);
    
                // When
                int access = response.getMaximalAccess();
    
                // Then
                assertEquals(0x001F01FF, access, "Should return maximal access value");
            }
    
            @Test
            @DisplayName("Should decode response from bytes correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top