Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getSecurity (0.04 sec)

  1. 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)
  2. 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)
  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)
Back to top