Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for ace (0.14 sec)

  1. src/main/java/jcifs/ACE.java

     * 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"
     * ACE and <i>all</i> of the bits in the desired access bits match bits in
     * the access mask of the ACE, the access check is successful. Otherwise,
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dtyp/ACE.java

     * 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"
     * ACE and <i>all</i> of the bits in the desired access bits match bits in
     * the access mask of the ACE, the access check is successful. Otherwise,
    Java
    - Registered: Sun Apr 21 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

     * 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"
     * ACE and <i>all</i> of the bits in the desired access bits match bits in
     * the access mask of the ACE, the access check is successful. Otherwise,
    Java
    - Registered: Sun Apr 21 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/smb1/smb1/SecurityDescriptor.java

                bufferIndex += 4;
    
                if (numAces > 4096)
                    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;
            }
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

                if ( numAces > 4096 )
                    throw new SMBProtocolDecodingException("Invalid SecurityDescriptor");
    
                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;
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         *            Attempt to resolve the SIDs within each ACE form
         *            their numeric representation to their corresponding account names.
         * @return array of ACEs
         * @throws IOException
         */
        ACE[] getSecurity ( boolean resolveSids ) throws IOException;
    
    
        /**
         * Return an array of Access Control Entry (ACE) objects representing
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileAttributesTest.java

                }
            }
        }
    
    
        @Test
        public void testGetACL () throws IOException {
            try ( SmbFile f = getDefaultShareRoot() ) {
                try {
                    jcifs.ACE[] security = f.getSecurity();
                    assertNotNull(security);
                }
                catch ( SmbUnsupportedOperationException e ) {
                    Assume.assumeTrue("No Ntsmbs", false);
                }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.dcerpc.msrpc;
    
    
    import java.io.IOException;
    
    import jcifs.internal.dtyp.ACE;
    import jcifs.internal.dtyp.SecurityDescriptor;
    
    
    @SuppressWarnings ( "javadoc" )
    public class MsrpcShareGetInfo extends srvsvc.ShareGetInfo {
    
        public MsrpcShareGetInfo ( String server, String sharename ) {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareGetInfo.java

        public MsrpcShareGetInfo(String server, String sharename) {
            super(server, sharename, 502, new srvsvc.ShareInfo502());
            ptype = 0;
            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;
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

    
        @Override
        public ACE[] getSecurity () throws IOException {
            return getSecurity(false);
        }
    
    
        @Override
        public ACE[] getSecurity ( boolean resolveSids ) throws IOException {
            try ( SmbTreeHandleImpl th = ensureTreeConnected() ) {
                SecurityDescriptor desc = querySecurity(th, SecurityInfo.DACL_SECURITY_INFO);
                ACE[] aces = desc.getAces();
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
Back to top