Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for security_descriptor (0.11 sec)

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

            objAttr.decode(mockNdrBuffer);
    
            assertEquals(100, objAttr.length);
            assertEquals(3, objAttr.attributes);
            assertEquals(4, objAttr.security_descriptor);
    
            verify(objAttr.root_directory).decode(mockDeferredNdrBuffer);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

            public rpc.unicode_string object_name;
            /** Object attributes flags. */
            public int attributes;
            /** Security descriptor for the object. */
            public int security_descriptor;
            /** Quality of Service information. */
            public LsarQosInfo security_quality_of_service;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

            public rpc.unicode_string object_name;
            /** Object attributes flags. */
            public int attributes;
            /** Security descriptor for the object. */
            public int security_descriptor;
            /** Quality of Service information. */
            public LsarQosInfo security_quality_of_service;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

     * Represents a Windows security descriptor containing access control information.
     * This class encodes and decodes security descriptors that define ownership
     * and access permissions for SMB resources.
     */
    public class SecurityDescriptor {
    
        SID owner_user, owner_group;
        /**
         * The type flags indicating security descriptor control flags.
         */
        public int type;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

     */
    public class SecurityDescriptor implements SecurityInfo {
    
        /**
         * Descriptor type
         */
        private int type;
    
        /**
         * ACEs
         */
        private ACE[] aces;
        private SID ownerUserSid, ownerGroupSid;
    
        /**
         * Creates an empty security descriptor.
         */
        public SecurityDescriptor() {
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            final int start = bufferIndex;
    
            if (errorCode != 0) {
                return 4;
            }
    
            try {
                securityDescriptor = new SecurityDescriptor();
                bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len);
            } catch (final IOException ioe) {
                throw new RuntimeException(ioe.getMessage());
            }
    
            return bufferIndex - start;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.SID;
    
    /**
     * Test class for SecurityDescriptor
     */
    class SecurityDescriptorTest {
    
        private SecurityDescriptor securityDescriptor;
        private byte[] testBuffer;
    
        @BeforeEach
        void setUp() {
            securityDescriptor = new SecurityDescriptor();
            testBuffer = new byte[1024];
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java

         * @return the securityDescriptor containing access control information
         */
        public final SecurityDescriptor getSecurityDescriptor() {
            return this.securityDescriptor;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

     */
    package jcifs.internal.smb2.info;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.Decodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.dtyp.SecurityDescriptor;
    import jcifs.internal.fscc.FileFsFullSizeInformation;
    import jcifs.internal.fscc.FileFsSizeInformation;
    import jcifs.internal.fscc.FileInformation;
    import jcifs.internal.fscc.FileInternalInfo;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            setErrorCode(response, 0);
            response.readDataWireFormat(buffer, 0, buffer.length);
    
            SecurityDescriptor sd = response.getSecurityDescriptor();
            assertNotNull(sd);
    
            // Verify it's the same instance on subsequent calls
            SecurityDescriptor sd2 = response.getSecurityDescriptor();
            assertSame(sd, sd2);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top