- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for ACEs (0.04 seconds)
-
src/test/java/jcifs/SmbResourceTest.java
assertNotNull(security1, "Security ACEs should not be null"); assertNotNull(security2, "Security ACEs with resolve should not be null"); assertNotNull(shareSecurity, "Share security ACEs should not be null"); assertEquals(1, security1.length, "Should return expected number of ACEs"); assertEquals(1, security2.length, "Should return expected number of ACEs");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
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); } } @Test @DisplayName("Test getOwnerUserSid returns correct SID")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
assertNull(result); } @Test void testGetSecurityWithDACL() throws Exception { // Setup ShareInfo502 with a security descriptor containing a DACL with no ACEs srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502(); // Create a security descriptor with DACL at offset 20 byte[] securityDescriptorBytes = new byte[28];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/main/java/jcifs/SmbResource.java
* <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 representingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 28K bytes - Click Count (1)