- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 40 for SIDs (0.47 sec)
-
src/test/java/jcifs/smb/SIDTest.java
assertTrue(s.startsWith("S-1-0x010203040506")); assertTrue(s.endsWith("-7-8")); } @Test @DisplayName("equals and hashCode for equal and non-equal SIDs") void testEqualsAndHashCode() throws Exception { SID a1 = new SID("S-1-5-21-1-2-3-4"); SID a2 = new SID("S-1-5-21-1-2-3-4"); SID b = new SID("S-1-5-21-1-2-3-5");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
/** * Return an array of Access Control Entry (ACE) objects representing * the security descriptor associated with this file or directory. * <p> * Initially, the SIDs within each ACE will not be resolved however when * <code>getType()</code>, <code>getDomainName()</code>, <code>getAccountName()</code>, * or <code>toString()</code> is called, the names will attempt to be
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
// Then: Should have correct values assertEquals(0x21, message.getOpnum()); assertEquals(mockPolicyHandle, message.alias_handle); assertEquals(mockLsarSidArray, message.sids); } @Test @DisplayName("Should encode input correctly") void testEncodeIn() throws NdrException { // Given: Get members message
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
* RPC data structure definitions for DCE/RPC protocol support. * This class contains NDR (Network Data Representation) encodable/decodable structures * used in DCE/RPC communications including UUID, policy handles, unicode strings, and SIDs. */ @SuppressWarnings("all") public class rpc { /** * Private constructor to prevent instantiation of utility class. */ private rpc() { // Utility class } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
this.userPrefix = userPrefix; } /** * Extracts role type information from SMB (Server Message Block) response data. * Processes both SMB and SMB1 protocols to extract allowed and denied SIDs. * * @param responseData the response data containing SMB metadata * @return a list of role type strings extracted from the SMB permissions */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
jcifs.SID[] members = userSid.getGroupMemberSids("myserver", null, 0); assertEquals(0, members.length); } /** * Test static well-known SIDs. */ @Test void testWellKnownSids() { assertNotNull(SID.EVERYONE); assertEquals("S-1-1-0", SID.EVERYONE.toString()); assertNotNull(SID.CREATOR_OWNER);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
// Act lookupSids = new MsrpcLookupSids(mockPolicyHandle, testSids); // Assert using reflection Field sidsField = lsarpc.LsarLookupSids.class.getDeclaredField("sids"); sidsField.setAccessible(true); Object sidsObj = sidsField.get(lookupSids); assertNotNull(sidsObj); assertTrue(sidsObj instanceof LsarSidArrayX); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
} @Test @DisplayName("Test user flags using mock") void testUserFlags() throws Exception { PacLogonInfo logonInfo = mock(PacLogonInfo.class); // Test with extra SIDs flag when(logonInfo.getUserFlags()).thenReturn(PacConstants.LOGON_EXTRA_SIDS); assertEquals(PacConstants.LOGON_EXTRA_SIDS, logonInfo.getUserFlags()); // Test with resource groups flag
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
// Then: Should have correct values assertEquals(0x21, message.getOpnum()); assertEquals(mockPolicyHandle, message.alias_handle); assertEquals(mockLsarSidArray, message.sids); } @Test @DisplayName("Should encode input correctly") void testEncodeIn() throws NdrException { // Given: Get members message
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0)