Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for SecurityDescriptor (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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;
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. 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() {
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java

         */
        public ACE[] getSecurity() throws IOException {
            final srvsvc.ShareInfo502 info502 = (srvsvc.ShareInfo502) this.info;
            if (info502.security_descriptor != null) {
                SecurityDescriptor sd;
                sd = new SecurityDescriptor(info502.security_descriptor, 0, info502.sd_size);
                return sd.getAces();
            }
            return null;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareGetInfo.java

         */
        public ACE[] getSecurity() throws IOException {
            final srvsvc.ShareInfo502 info502 = (srvsvc.ShareInfo502) info;
            if (info502.security_descriptor != null) {
                SecurityDescriptor sd;
                sd = new SecurityDescriptor(info502.security_descriptor, 0, info502.sd_size);
                return sd.aces;
            }
            return null;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

            send(request, response);
    
            close(f, 0L);
    
            response.securityDescriptor.owner_user.resolve(getServerWithDfs(), auth);
            return response.securityDescriptor.owner_user;
        }
    
        /**
         * Returns the owner group SID for this file
         *
         * @return the owner group SID
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
Back to Top