Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getSecurity (0.1 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            infoField.setAccessible(true);
            infoField.set(msrpcShareGetInfo, info502);
    
            // Call getSecurity multiple times - should return consistent results
            ACE[] result1 = msrpcShareGetInfo.getSecurity();
            ACE[] result2 = msrpcShareGetInfo.getSecurity();
    
            // Both should be null (no DACL)
            assertNull(result1);
            assertNull(result2);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceTest.java

                when(mockResource.getSecurity()).thenReturn(expectedACEs);
                when(mockResource.getSecurity(true)).thenReturn(expectedACEs);
                when(mockResource.getShareSecurity(false)).thenReturn(expectedACEs);
    
                // When
                ACE[] security1 = mockResource.getSecurity();
                ACE[] security2 = mockResource.getSecurity(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResource.java

         * <code>S-X-Y-Z</code> strings of fragments of).
         * <p>
         * Alternatively <code>getSecurity(true)</code> may be used to resolve all
         * SIDs together and detect network failures.
         *
         * @return array of ACEs
         * @throws IOException if an I/O error occurs
         */
        ACE[] getSecurity() 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)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

         * @param file the SMB file to process
         */
        protected void processAccessControlEntries(final ResponseData responseData, final SmbFile file) {
            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) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

         * @param file the SMB1 file to process
         */
        protected void processAccessControlEntries(final ResponseData responseData, final SmbFile file) {
            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<>();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top