Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 219 for aces (0.02 sec)

  1. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

                this.aces = new ACE[numAces];
                for ( int i = 0; i < numAces; i++ ) {
                    this.aces[ i ] = new ACE();
                    bufferIndex += this.aces[ i ].decode(buffer, bufferIndex, len - bufferIndex);
                }
            }
            else {
                this.aces = null;
            }
    
            return bufferIndex - start;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/ACE.java

        boolean allow;
        int flags;
        int access;
        SID sid;
    
        /**
         * Returns true if this ACE is an allow ACE and false if it is a deny ACE.
         */
        public boolean isAllow() {
            return allow;
        }
        /**
         * Returns true if this ACE is an inherited ACE and false if it is a direct ACE.
         * <p>
         * Note: For reasons not fully understood, <tt>FLAGS_INHERITED</tt> may
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

                    throw new IOException( "Invalid SecurityDescriptor" );
    
                aces = new ACE[numAces];
                for (int i = 0; i < numAces; i++) {
                    aces[i] = new ACE();
                    bufferIndex += aces[i].decode(buffer, bufferIndex);
                }
            } else {
                aces = null;
            }
    
            return bufferIndex - start;
        }
        public String toString() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ACE.java

         * 
         * @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.
         * 
         * @return whether this in an allow ACE
         */
        boolean isAllow ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dtyp/ACE.java

     * 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
     * mask of the ACE, the whole access check fails. If the ACE is an "allow"
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

            try {
                final ACE[] aces = file.getSecurity(resolveSids);
                if (aces != null) {
                    final Set<SID> sidAllowSet = new HashSet<>();
                    final Set<SID> sidDenySet = new HashSet<>();
                    for (final ACE ace : aces) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("ACE:{}", ace);
                        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
        private void processAces(ACE[] aces, boolean resolveSids) throws IOException {
            String server = getServerWithDfs();
            int ai;
    
            if (resolveSids) {
                SID[] sids = new SID[aces.length];
                String[] names = null;
    
                for (ai = 0; ai < aces.length; ai++) {
                    sids[ai] = aces[ai].sid;
                }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

            try {
                final ACE[] aces = file.getSecurity(resolveSids);
                if (aces != null) {
                    responseData.addMetaData(SMB_ACCESS_CONTROL_ENTRIES, aces); // backward compatibility
                    final Set<SID> sidAllowSet = new HashSet<>();
                    final Set<SID> sidDenySet = new HashSet<>();
                    for (final ACE ace : aces) {
                        if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

                        throw new SmbException(rpc.retval, true);
                    }
                    aces = rpc.getSecurity();
                    if ( aces != null ) {
                        processAces(aces, resolveSids);
                    }
                }
                return aces;
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareGetInfo.java

            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        public ACE[] getSecurity() throws IOException {
            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;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.6K bytes
    - Viewed (0)
Back to top