Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SubAuthority (0.11 sec)

  1. src/test/java/jcifs/smb/SIDTest.java

                // toString should reconstruct exact textual form
                assertEquals("S-1-5-21-1-2-3-1029", sid.toString());
                // RID is the last subauthority
                assertEquals(1029, sid.getRid());
                // getDomainSid should drop the last subauthority
                assertEquals("S-1-5-21-1-2-3", sid.getDomainSid().toString());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            buffer.putInt(0); // SubAuthority
    
            // Group SID at offset 40
            buffer.position(40);
            buffer.put((byte) 0x01); // Revision
            buffer.put((byte) 0x01); // SubAuthorityCount
            buffer.put(new byte[] { 0, 0, 0, 0, 0, 2 }); // IdentifierAuthority
            buffer.putInt(0); // SubAuthority
    
            // DACL at offset 60
            buffer.position(60);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SID.java

        /**
         * Gets the domain SID for this SID.
         *
         * @return domain SID
         */
        SID getDomainSid();
    
        /**
         * Get the RID
         *
         * This is the last subauthority identifier
         *
         * @return the RID
         */
        int getRid();
    
        /**
         * Return a String representing this SID ideal for display to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SID.java

        public SID getDomainSid() {
            return new SID(this, SID_TYPE_DOMAIN, this.domainName, null, getType() != SID_TYPE_DOMAIN);
        }
    
        /**
         * Get the RID
         *
         * This is the last subauthority identifier
         *
         * @return the RID
         */
        @Override
        public int getRid() {
            if (getType() == SID_TYPE_DOMAIN) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top