- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for isInherited (2.81 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.8K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/annotation/Secured.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Java 5 annotation for describing service layer security attributes. * * <p>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
import org.junit.jupiter.params.provider.MethodSource; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for SmbAuthException covering all constructors and inherited behavior. */ @ExtendWith(MockitoExtension.class) public class SmbAuthExceptionTest { /** * Provide representative error codes for the int constructor. * - NT status code (high bits set)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
void testConstructorInitialisesFields() throws Exception { int level = 42; Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level); // constants are defined on SmbComTransaction, inherited via // ServerMessageBlock. assertEquals(SmbComTransaction.SMB_COM_TRANSACTION2, cmd.command, "command should be TRANSACTION2");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0)