Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setImpersonationLevel (1.9 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        }
    
        /**
         * Set the impersonation level for the create request
         * @param impersonationLevel the impersonationLevel to set
         */
        public void setImpersonationLevel(final int impersonationLevel) {
            this.impersonationLevel = impersonationLevel;
        }
    
        /**
         * Set the SMB create flags
         * @param smbCreateFlags the smbCreateFlags to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        }
    
        @Test
        @DisplayName("Test impersonation level setter")
        void testSetImpersonationLevel() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            request.setImpersonationLevel(Smb2CreateRequest.SMB2_IMPERSONATION_LEVEL_DELEGATE);
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
            // Read impersonation level from buffer (offset 4-7)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top