Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for isInherited (0.05 sec)

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

            assertEquals(0x001F01FF, ace.getAccessMask());
            assertTrue(ace.isInherited());
        }
    
        @Test
        @DisplayName("Test isInherited with FLAGS_INHERITED flag")
        void testIsInherited() {
            ace.flags = 0x00;
            assertFalse(ace.isInherited());
    
            ace.flags = ACE.FLAGS_INHERITED;
            assertTrue(ace.isInherited());
    
            ace.flags = ACE.FLAGS_INHERITED | ACE.FLAGS_OBJECT_INHERIT;
    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 isInherited method returning boolean")
            void shouldDefineIsInherited() {
                ACE inheritedAce = mock(ACE.class);
                ACE directAce = mock(ACE.class);
                when(inheritedAce.isInherited()).thenReturn(true);
                when(directAce.isInherited()).thenReturn(false);
    
                assertTrue(inheritedAce.isInherited());
                assertFalse(directAce.isInherited());
    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

         * @return true if this ACE is inherited, false if it is direct
         */
        public boolean isInherited() {
            return (flags & FLAGS_INHERITED) != 0;
        }
    
        /**
         * Returns the flags for this ACE. The <code>isInherited()</code>
         * method checks the <code>FLAGS_INHERITED</code> bit in these flags.
         * @return the ACE flags
         */
        public int getFlags() {
            return flags;
        }
    
    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

            sb.append(isAllow() ? "Allow " : "Deny  ");
            appendCol(sb, this.sid.toDisplayString(), 25);
            sb.append(" 0x").append(Hexdump.toHexString(this.access, 8)).append(' ');
            sb.append(isInherited() ? "Inherited " : "Direct    ");
            appendCol(sb, getApplyToText(), 34);
            return sb.toString();
        }
    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

         * not be set within all security descriptors even though the ACE was in
         * face inherited. If an inherited ACE is added to a parent the Windows
         * ACL editor will rebuild all children ACEs and set this flag accordingly.
         *
         * @return whether this is an inherited ACE
         */
        boolean isInherited();
    
        /**
         * Returns true if this ACE is an allow ACE and false if it is a deny 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)
  6. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            assertNotNull(crawlerEngineClient);
            // The actual client initialization happens lazily when needed
        }
    
        // Test that close method exists (inherited)
        public void test_closeMethodExists() {
            // Test that close method is available (inherited from parent)
            try {
                // Just verify the method exists, don't actually call it
                crawlerEngineClient.getClass().getMethod("close");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/MsrpcLsarCloseTest.java

            // Assert that the object is not null
            assertNotNull(msrpcLsarClose, "MsrpcLsarClose object should not be null");
    
            // Verify that the constructor correctly sets ptype and flags
            // These values are inherited from LsarClose, but MsrpcLsarClose sets them in its constructor
            assertEquals(0, msrpcLsarClose.getPtype(), "ptype should be 0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            assertTrue(result.contains("["));
            assertTrue(result.contains("]"));
        }
    
        @Test
        @DisplayName("Test inherited properties from SmbComTransactionResponse")
        void testInheritedProperties() {
            // Test that inherited properties are accessible
    
            // Test dataCount property - using public method
            response.setDataCount(100);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertNotNull(retention);
            assertEquals(RetentionPolicy.RUNTIME, retention.value());
    
            // Check Inherited annotation
            assertNotNull(Secured.class.getAnnotation(Inherited.class));
    
            // Check Documented annotation
            assertNotNull(Secured.class.getAnnotation(Documented.class));
        }
    
        // Test annotation value method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  10. cmd/common-main.go

    				"Unable to validate credentials inherited from the secret file(s)")
    		}
    		if accessKey != "" {
    			os.Setenv(config.EnvRootUser, accessKey)
    		}
    	}
    
    	if env.IsSet(config.EnvSecretKeyFile) {
    		secretKey, err := readFromSecret(env.Get(config.EnvSecretKeyFile, ""))
    		if err != nil {
    			logger.Fatal(config.ErrInvalidCredentials(err),
    				"Unable to validate credentials inherited from the secret file(s)")
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top