Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testTextualConstructorHexAuthority (0.2 sec)

  1. src/test/java/jcifs/smb/SIDTest.java

                assertEquals("S-1-5-21-1-2-3", sid.getDomainSid().toString());
            }
    
            @Test
            @DisplayName("Textual constructor with hex identifier authority")
            void testTextualConstructorHexAuthority() throws Exception {
                // Arrange: 0x5 == decimal 5 results in decimal authority in toString
                SID sid = new SID("S-1-0x000000000005-21-99");
    
                // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top