- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 97 for sid (0.65 sec)
-
src/main/java/jcifs/pac/PacDataInputStream.java
System.arraycopy(bytes, 0, sidBytes, 8, bytes.length); return new SID(sidBytes, 0); } /** * Reads a full Security Identifier (SID) structure. * @return the SID object * @throws IOException if an I/O error occurs * @throws PACDecodingException if the SID data is invalid */ public SID readSid() throws IOException, PACDecodingException { final int sidSize = readInt();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSidAttributesTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.smb.SID; class PacSidAttributesTest { private SID sidMock; private PacSidAttributes pacSidAttributes; private final int attributes = 12345; @BeforeEach void setUp() { // Mock the SID object sidMock = mock(SID.class); // Create a new PacSidAttributes instance before each test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacGroup.java
*/ package jcifs.pac; import jcifs.smb.SID; /** * Represents a group membership entry in PAC logon information. * Contains a group SID and associated attributes. */ public class PacGroup { private final SID id; private final int attributes; /** * Constructs a PAC group entry. * @param id the group's Security Identifier (SID) * @param attributes the group membership attributes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
SID sid = new SID(adminSidBytes, 0); assertArrayEquals(adminSidBytes, sid.toByteArray()); } /** * Test the equals method. * * @throws SmbException if the SID string is invalid */ @Test void testEquals() throws SmbException { SID sid1 = new SID(adminSidString); SID sid2 = new SID(adminSidBytes, 0); SID sid3 = new SID("S-1-1-0"); // Everyone
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/main/java/jcifs/pac/PacLogonInfo.java
} /** * Returns the user's Security Identifier (SID). * @return the user SID */ public SID getUserSid() { return this.userSid; } /** * Returns the user's primary group SID. * @return the primary group SID */ public SID getGroupSid() { return this.groupSid; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
super(config, SMB_COM_TRANSACTION2, SmbComTransaction.TRANS2_FIND_FIRST2); } /** * Gets the search ID for this response. * * @return the sid */ public final int getSid() { return this.sid; } /** * Checks if this is the end of the search results. * * @return the isEndOfSearch */ public final boolean isEndOfSearch() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
// Arrange jcifs.SID mockSid1 = mock(jcifs.SID.class); jcifs.SID mockSid2 = mock(jcifs.SID.class); jcifs.SID mockSid3 = mock(jcifs.SID.class); when(mockSid1.unwrap(sid_t.class)).thenReturn(mockSidT); when(mockSid2.unwrap(sid_t.class)).thenReturn(mockSidT); when(mockSid3.unwrap(sid_t.class)).thenReturn(mockSidT); testSids = new jcifs.SID[] { mockSid1, mockSid2, mockSid3 };
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/main/java/jcifs/smb/SIDCacheImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomain.java
* @param access the desired access rights * @param sid the security identifier of the domain * @param domainHandle the domain handle to be populated */ public MsrpcSamrOpenDomain(final SamrPolicyHandle handle, final int access, final rpc.sid_t sid, final SamrDomainHandle domainHandle) { super(handle, access, sid, domainHandle); this.ptype = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0)