Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getAccessMask (0.05 sec)

  1. src/test/java/jcifs/internal/dtyp/ACETest.java

        }
    
        @Test
        @DisplayName("Test getAccessMask returns correct value")
        void testGetAccessMask() {
            ace.access = 0x00000000;
            assertEquals(0x00000000, ace.getAccessMask());
    
            ace.access = 0xFFFFFFFF;
            assertEquals(0xFFFFFFFF, ace.getAccessMask());
    
            ace.access = 0x001200A9;
            assertEquals(0x001200A9, ace.getAccessMask());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ACETest.java

            @Test
            @DisplayName("Should define getAccessMask method returning int")
            void shouldDefineGetAccessMask() {
                ACE ace = mock(ACE.class);
                when(ace.getAccessMask()).thenReturn(ACE.FILE_READ_DATA | ACE.FILE_WRITE_DATA);
    
                int mask = ace.getAccessMask();
                assertEquals(0x00000003, mask);
                verify(ace).getAccessMask();
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dtyp/ACE.java

            case 0x01:
                return "This folder and files";
            case 0x09:
                return "Files only";
            }
            return "Invalid";
        }
    
        @Override
        public int getAccessMask() {
            return this.access;
        }
    
        @Override
        public SID getSID() {
            return this.sid;
        }
    
        @Override
        public int decode(final byte[] buf, int bi, final int len) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/ACE.java

         * <code>READ_CONTROL</code>, <code>GENERIC_ALL</code>, etc with bitwise
         * operators to determine which bits of the mask are on or off.
         * @return the access mask for this ACE
         */
        public int getAccessMask() {
            return access;
        }
    
        /**
         * Return the SID associated with this ACE.
         * @return the SID for this ACE
         */
        public SID getSID() {
            return sid;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ACE.java

         * <code>READ_CONTROL</code>, <code>GENERIC_ALL</code>, etc with bitwise
         * operators to determine which bits of the mask are on or off.
         *
         * @return the access mask
         */
        int getAccessMask();
    
        /**
         * Returns the 'Apply To' text for inheritance of ACEs on
         * directories such as 'This folder, subfolder and files'. For
         * files the text is always 'This object only'.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top