Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FLAGS_INHERIT_ONLY (0.17 sec)

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

            ace.flags = ACE.FLAGS_INHERITED | ACE.FLAGS_INHERIT_ONLY;
            assertTrue(ace.isInherited());
        }
    
        @Test
        @DisplayName("Test edge cases in getApplyToText")
        void testGetApplyToTextEdgeCases() {
            // Test with only FLAGS_INHERIT_ONLY (should return Invalid)
            ace.flags = ACE.FLAGS_INHERIT_ONLY;
            assertEquals("Invalid", ace.getApplyToText());
    
    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

                assertEquals(0x04, ACE.FLAGS_NO_PROPAGATE, "FLAGS_NO_PROPAGATE should be 0x04");
                assertEquals(0x08, ACE.FLAGS_INHERIT_ONLY, "FLAGS_INHERIT_ONLY should be 0x08");
                assertEquals(0x10, ACE.FLAGS_INHERITED, "FLAGS_INHERITED should be 0x10");
            }
        }
    
        @Nested
        @DisplayName("Bitwise Operations Tests")
    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/smb1/smb1/ACE.java

        public static final int FLAGS_NO_PROPAGATE = 0x04;
        /** Inheritance flag: ACE applies only to children, not to the object itself */
        public static final int FLAGS_INHERIT_ONLY = 0x08;
        /** Inheritance flag: ACE was inherited from parent */
        public static final int FLAGS_INHERITED = 0x10;
    
        boolean allow;
        int flags;
        int access;
        SID 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)
  4. src/main/java/jcifs/internal/dtyp/ACE.java

        @Override
        public int getFlags() {
            return this.flags;
        }
    
        @Override
        public String getApplyToText() {
            switch (this.flags & (FLAGS_OBJECT_INHERIT | FLAGS_CONTAINER_INHERIT | FLAGS_INHERIT_ONLY)) {
            case 0x00:
                return "This folder only";
            case 0x03:
                return "This folder, subfolders and files";
            case 0x0B:
                return "Subfolders and files only";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ACE.java

         * Inheritance flag: inheritance stops after one level
         */
        int FLAGS_NO_PROPAGATE = 0x04;
        /**
         * Inheritance flag: ACE applies only to children, not to the object itself
         */
        int FLAGS_INHERIT_ONLY = 0x08;
        /**
         * Inheritance flag: ACE was inherited from parent
         */
        int FLAGS_INHERITED = 0x10;
    
        /**
         * Return the SID associated with this ACE.
         *
    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