- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 133 for aces (2.1 sec)
-
src/test/java/jcifs/SmbResourceTest.java
// Then 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");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/ACE.java
* * @return whether this is an inherited ACE */ boolean isInherited(); /** * Returns true if this ACE is an allow ACE and false if it is a deny ACE. * * @return whether this in an allow ACE */ boolean isAllow();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
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) -
src/main/java/jcifs/internal/dtyp/ACE.java
* available online). * <p> * Direct ACEs are evaluated first in order. The SID of the user performing * the operation and the desired access bits are compared to the SID * 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"
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
} /** * Returns true if this ACE is an inherited ACE and false if it is a direct ACE. * <p> * Note: For reasons not fully understood, <code>FLAGS_INHERITED</code> may * not be set within all security descriptors even though the ACE was in * face inherited. If an inherited ACE is added to a parent the Windows * ACL editor will rebuild all children ACEs and set this flag accordingly.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.8K bytes - Viewed (0) -
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) -
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) -
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) -
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)