Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 97 for sid (0.01 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

            assertEquals(sidT1, lsarSidArrayX.sids[0].sid, "First SID should be unwrapped correctly");
            assertEquals(sidT2, lsarSidArrayX.sids[1].sid, "Second SID should be unwrapped correctly");
        }
    
        @Test
        void testConstructorWithJcifsSIDArrayDirectAssignment() {
            // Create mock SID objects
            SID mockSid1 = mock(SID.class);
            SID mockSid2 = mock(SID.class);
    
            SID[] sids = { mockSid1, mockSid2 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacGroupTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SID;
    
    /**
     * Tests for the {@link PacGroup} class.
     */
    class PacGroupTest {
    
        private SID mockSid;
        private PacGroup pacGroup;
        private final int attributes = 42;
    
        @BeforeEach
        void setUp() {
            // Mock the SID object
            mockSid = mock(SID.class);
            pacGroup = new PacGroup(mockSid, attributes);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComFindClose2.java

    package jcifs.smb1.smb1;
    
    class SmbComFindClose2 extends ServerMessageBlock {
    
        private final int sid;
    
        SmbComFindClose2(final int sid) {
            this.sid = sid;
            command = SMB_COM_FIND_CLOSE2;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            writeInt2(sid, dst, dstIndex);
            return 2;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            assertEquals(10, bytesRead);
            assertEquals(1, response.sid);
            assertEquals(2, response.numEntries);
            assertTrue(response.isEndOfSearch);
            assertEquals(3, response.eaErrorOffset);
            assertEquals(4, response.lastNameOffset);
        }
    
        @Test
        void testReadParametersWireFormat_FindNext2() {
            // In FindNext2, sid is not read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/rpcTest.java

        }
    
        @Nested
        @DisplayName("SID Tests")
        class SidTests {
    
            @Test
            @DisplayName("Should encode SID correctly")
            void testSidTEncode() throws NdrException {
                // Given: A SID with test values
                rpc.sid_t sid = new rpc.sid_t();
                sid.revision = (byte) 1;
                sid.sub_authority_count = (byte) 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacSidAttributes.java

     */
    package jcifs.pac;
    
    import jcifs.smb.SID;
    
    /**
     * Represents a Security Identifier (SID) with associated attributes within a PAC structure.
     * This class encapsulates a SID and its attribute flags as used in Kerberos PAC data.
     */
    public class PacSidAttributes {
    
        private final SID id;
        private final int attributes;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

            return this.aces;
        }
    
        /**
         * Gets the owner group SID of this security descriptor.
         *
         * @return the security identifier of the owner group
         */
        public final SID getOwnerGroupSid() {
            return this.ownerGroupSid;
        }
    
        /**
         * Gets the owner user SID of this security descriptor.
         *
         * @return the security identifier of the owner user
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dtyp/ACE.java

     * "The .NET Developer's Guide to Windows Security" (which is also
     * available online).
     * <p>
     * Direct ACEs are evaluated first in order. The SID of the user performing
     * the operation and the desired access bits are compared to the SID
     * and access mask of each ACE. If the SID matches, the allow/deny flags
     * and access mask are considered. If the ACE is a "deny"
     * ACE and <i>any</i> of the desired access bits match bits in the access
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

                if (responseData.getUrl().startsWith("smb:")) {
                    final SID[] allowedSids = (SID[]) metaDataMap.get(SmbClient.SMB_ALLOWED_SID_ENTRIES);
                    if (allowedSids != null) {
                        for (final SID sid : allowedSids) {
                            final String accountId = sambaHelper.getAccountId(sid);
                            if (accountId != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                urlFilterService.delete(sid);
            } catch (final Exception e) {
                logger.warn("Failed to delete UrlFilter for {}", sid, e);
            }
    
            try {
                // clear queue
                urlQueueService.clearCache();
                urlQueueService.delete(sid);
            } catch (final Exception e) {
                logger.warn("Failed to delete UrlQueue for {}", sid, e);
            }
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top