- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getSID (0.1 sec)
-
src/test/java/jcifs/internal/dtyp/ACETest.java
} @Test @DisplayName("Test getSID returns correct SID") void testGetSID() throws SmbException { assertNull(ace.getSID()); SID testSid = new SID("S-1-5-21-1234567890-123456789-123456789-1000"); ace.sid = testSid; assertSame(testSid, ace.getSID()); } @Test @DisplayName("Test decode with offset")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
@Test @DisplayName("Should define getSID method returning SID") void shouldDefineMethods() { ACE ace = mock(ACE.class); SID mockSid = mock(SID.class); when(ace.getSID()).thenReturn(mockSid); SID result = ace.getSID(); assertSame(mockSid, result); verify(ace).getSID(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
// Should return dataCount assertEquals(5, result); } @Test void testGetSid() { // Test the getSid method // By default, it should be 0 assertEquals(0, response.getSid()); } @Test void testGetResumeKey() { // Test the getResumeKey method // By default, it should be 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
th.getConfig().getListSize() - FIND_OVERHEAD), this.response); this.nextRequest = new Trans2FindNext2(th.getConfig(), this.response.getSid(), this.response.getResumeKey(), this.response.getLastName(), th.getConfig().getListCount(), th.getConfig().getListSize() - FIND_OVERHEAD); } catch (final SmbException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K 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/main/java/jcifs/internal/dtyp/ACE.java
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/ACE.java
*/ int FLAGS_INHERITED = 0x10; /** * Return the SID associated with this ACE. * * @return ACE target SID */ SID getSID(); /** * Returns the access mask associated with this ACE. Use the * constants for <code>FILE_READ_DATA</code>, <code>FILE_WRITE_DATA</code>,
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/ACE.java
*/ public int getAccessMask() { return access; } /** * Return the SID associated with this ACE. * @return the SID for this ACE */ public SID getSID() { return sid; } int decode(final byte[] buf, int bi) { allow = buf[bi] == (byte) 0x00; bi++; flags = buf[bi++] & 0xFF;
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/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)