Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 1,148 for Handler (0.07 sec)

  1. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                    log.warn("Tree handle was not properly released, performing emergency cleanup: "
                            + (this.resourceLoc != null ? this.resourceLoc.getURL() : "unknown"));
                    emergencyReleaseHandle();
                }
            } catch (Exception e) {
                log.error("Error during tree handle finalization", e);
            } finally {
                super.finalize();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                assertEquals(mockBinding, handle.getBinding());
                assertTrue(handle.getMaxRecv() > 0);
                assertTrue(handle.getMaxXmit() > 0);
                assertEquals("test_server", handle.getServer());
                assertEquals("test_server_dfs", handle.getServerWithDfs());
                assertEquals(mockContext, handle.getTransportContext());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/rpcTest.java

            }
        }
    
        @Nested
        @DisplayName("Policy Handle Tests")
        class PolicyHandleTests {
    
            @Test
            @DisplayName("Should encode policy handle correctly")
            void testPolicyHandleEncode() throws NdrException {
                // Given: A policy handle with test values
                rpc.policy_handle policyHandle = new rpc.policy_handle();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            when(handle.isValid()).thenReturn(true);
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false);
    
            sut.close();
    
            verify(handle, times(1)).close(0L);
        }
    
        // close() should do nothing when handle is invalid
        @Test
        @DisplayName("close() does nothing when handle invalid")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

         *
         * @param handle the DCE/RPC handle for communication
         * @param domainHandle the domain handle containing this alias
         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrAliasHandle(final DcerpcHandle handle, final SamrDomainHandle domainHandle, final int access, final int rid)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java

         */
        public static final int SMB2_LEASE_READ_CACHING = 0x01;
    
        /**
         * Handle caching lease (H)
         */
        public static final int SMB2_LEASE_HANDLE_CACHING = 0x02;
    
        /**
         * Write caching lease (W)
         */
        public static final int SMB2_LEASE_WRITE_CACHING = 0x04;
    
        /**
         * Read and Handle caching (RH)
         */
        public static final int SMB2_LEASE_READ_HANDLE = 0x03;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

    /**
     * Handle for Security Account Manager (SAM) domain operations.
     * This class represents an open handle to a SAM domain and provides
     * operations for managing domain users, groups, and aliases.
     */
    public class SamrDomainHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        /**
         * Creates a new SAM domain handle.
         *
         * @param handle the DCE/RPC handle for communication
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

    import jcifs.smb1.smb1.SmbException;
    
    /**
     * Handle for Security Account Manager (SAM) policy operations.
     * This class represents an open handle to a SAM server and provides
     * high-level access to SAM database operations.
     */
    public class SamrPolicyHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        /**
         * Creates a new SAM policy handle.
         *
         * @param handle the DCE/RPC handle for communication
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            when(nego.isSigningNegotiated()).thenReturn(true);
    
            assertEquals(1111, handle.getSendBufferSize());
            assertEquals(2222, handle.getReceiveBufferSize());
            assertEquals(3333, handle.getMaximumBufferSize());
            assertTrue(handle.areSignaturesActive());
    
            verify(session, times(4)).close();
            verify(transport, times(4)).close();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

            @Test
            @DisplayName("Should handle null hash algorithms")
            void testNullHashAlgorithms() {
                context = new PreauthIntegrityNegotiateContext(mockConfig, null, new byte[16]);
    
                assertNull(context.getHashAlgos());
                assertEquals(20, context.size()); // 4 header + 16 salt
            }
    
            @Test
            @DisplayName("Should handle null salt")
            void testNullSalt() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top