Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for DcerpcPipeHandle (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

        }
    
        /**
         * Helper method to create a DcerpcPipeHandle with injected mocks
         * Uses mock to avoid constructor issues while allowing real method calls
         */
        private DcerpcPipeHandle createMockedDcerpcPipeHandle() throws Exception {
            // Create a mock without calling the constructor
            DcerpcPipeHandle handle = mock(DcerpcPipeHandle.class);
    
            // Inject the binding using reflection
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

            if (this instanceof DcerpcPipeHandle) {
                return ((DcerpcPipeHandle) this).pipe.getServer();
            }
            return null;
        }
    
        /**
         * Gets the principal associated with this handle
         * @return the principal or null if not authenticated
         */
        public Principal getPrincipal() {
            if (this instanceof DcerpcPipeHandle) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

        @Nested
        @DisplayName("Handle Creation Tests")
        class HandleCreationTests {
    
            @Test
            @DisplayName("Should create DcerpcPipeHandle for ncacn_np protocol")
            void testGetHandleNcacnNpProtocol() {
                // When/Then: Should attempt to create DcerpcPipeHandle (may fail due to SMB URL creation)
                // This tests the protocol recognition logic, actual creation may fail due to missing SMB support
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top