Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for acei (0.02 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;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        @DisplayName("Test getAces returns correct ACE array")
        void testGetAces() throws SMBProtocolDecodingException {
            prepareSecurityDescriptorBufferWithDACL(testBuffer, 0, 3);
    
            securityDescriptor.decode(testBuffer, 0, testBuffer.length);
    
            ACE[] aces = securityDescriptor.getAces();
            assertNotNull(aces);
            assertEquals(3, aces.length);
            for (ACE ace : aces) {
                assertNotNull(ace);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                    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 Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareGetInfo.java

        }
    
        /**
         * Returns the security descriptor of the share as an array of ACEs.
         *
         * @return an array of ACE objects representing the share's security descriptor
         * @throws IOException if there is an error retrieving the security information
         */
        public ACE[] getSecurity() throws IOException {
            final srvsvc.ShareInfo502 info502 = (srvsvc.ShareInfo502) info;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            securityDescriptorBytes[22] = 8; // ACL size (low byte)
            securityDescriptorBytes[23] = 0; // ACL size (high byte)
            securityDescriptorBytes[24] = 0; // ACE count (low byte) - 0 ACEs
            securityDescriptorBytes[25] = 0; // ACE count (high byte)
            securityDescriptorBytes[26] = 0; // sbz2 (low byte)
            securityDescriptorBytes[27] = 0; // sbz2 (high byte)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java

        }
    
        /**
         * Returns the security descriptor of the share as an array of ACEs.
         *
         * @return an array of ACE objects representing the share's security descriptor
         * @throws IOException if there is an error retrieving the security information
         */
        public ACE[] getSecurity() throws IOException {
            final srvsvc.ShareInfo502 info502 = (srvsvc.ShareInfo502) this.info;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
        private void processAces(final ACE[] aces, final boolean resolveSids) throws IOException {
            final String server = getServerWithDfs();
            int ai;
    
            if (resolveSids) {
                final SID[] sids = new SID[aces.length];
                final String[] names = null;
    
                for (ai = 0; ai < aces.length; ai++) {
                    sids[ai] = aces[ai].sid;
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  8. 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 if an I/O error occurs
         */
        ACE[] getSecurity(boolean resolveSids) throws IOException;
    
        /**
         * Return an array of Access Control Entry (ACE) objects representing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dtyp/ACETest.java

            // Test combinations with FLAGS_INHERITED
            ace.flags = ACE.FLAGS_INHERITED | ACE.FLAGS_OBJECT_INHERIT;
            assertTrue(ace.isInherited());
    
            ace.flags = ACE.FLAGS_INHERITED | ACE.FLAGS_CONTAINER_INHERIT;
            assertTrue(ace.isInherited());
    
            ace.flags = ACE.FLAGS_INHERITED | ACE.FLAGS_NO_PROPAGATE;
            assertTrue(ace.isInherited());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top