Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for aces (0.33 sec)

  1. 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() {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  2. 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"
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.4K bytes
    - Viewed (0)
  3. 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
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.2K bytes
    - Viewed (0)
  4. 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;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.4K bytes
    - Viewed (0)
  5. 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 ();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

        }
    
    
        private void processAces ( ACE[] aces, boolean resolveSids ) throws IOException {
            String server = this.fileLocator.getServerWithDfs();
            int ai;
    
            if ( resolveSids ) {
                SID[] sids = new SID[aces.length];
                for ( ai = 0; ai < aces.length; ai++ ) {
                    sids[ ai ] = aces[ ai ].getSID();
                }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K 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;
                }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  8. 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;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResource.java

         * the ACLs returned by <tt>getShareSecurity</tt> and <tt>getSecurity</tt>
         * respectively.
         * 
         * @param resolveSids
         *            Attempt to resolve the SIDs within each ACE form
         *            their numeric representation to their corresponding account names.
         * @return array of ACEs
         * @throws IOException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CartesianList.java

      }
    
      CartesianList(ImmutableList<List<E>> axes) {
        this.axes = axes;
        int[] axesSizeProduct = new int[axes.size() + 1];
        axesSizeProduct[axes.size()] = 1;
        try {
          for (int i = axes.size() - 1; i >= 0; i--) {
            axesSizeProduct[i] = IntMath.checkedMultiply(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top