- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for isInherited (1.19 sec)
-
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/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/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) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// Arrange SamrPolicyHandle ph = createMockPolicyHandle(); MsrpcSamrConnect2 msg = new MsrpcSamrConnect2("\\\\server", 0x000F0000, ph); // Act & Assert - getOpnum is inherited from SamrConnect2 assertDoesNotThrow(() -> msg.getOpnum()); assertEquals(0x39, msg.getOpnum(), "getOpnum should return 0x39 as defined in SamrConnect2"); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.smb1.Config; /** * Tests for {@link NtlmMessage}. Since {@code NtlmMessage} is abstract we * create a lightweight concrete subclass only to exercise the inherited * behaviour. The tests cover flag manipulation, byte‑buffer operations and * static helpers. Edge cases such as null or short arrays and negative * values are verified to ensure proper exception handling and byteRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0)