- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,473 for handle (0.06 sec)
-
src/main/java/jcifs/smb1/smb1/SID.java
} policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800); SID.resolveSids(handle, policyHandle, sids); } finally { if (handle != null) { if (policyHandle != null) { policyHandle.close(); } handle.close(); } } } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
when(handle.hasCapability(anyInt())).thenReturn(true); // Act: perform a series of calls to verify order handle.ensureDFSResolved(); handle.hasCapability(7); handle.release(); // Assert: verify they happened in order InOrder inOrder = inOrder(handle); inOrder.verify(handle).ensureDFSResolved(); inOrder.verify(handle).hasCapability(7);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenDomain.java
* * This class implements the SAMR OpenDomain operation for obtaining * a handle to a specific domain in the Security Account Manager. */ public class MsrpcSamrOpenDomain extends samr.SamrOpenDomain { /** * Creates a new request to open a domain handle. * * @param handle the SAM policy handle * @param access the desired access rights * @param sid the security identifier of the domainRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
assertEquals("testdomain", config.getDefaultDomain()); } @Test @DisplayName("Should handle null properties gracefully") void testNullProperties() throws CIFSException { // PropertyConfiguration doesn't handle null properties // It should throw NullPointerException assertThrows(NullPointerException.class, () -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbPipeHandle.java
*/ package jcifs; import java.io.InputStream; import java.io.OutputStream; /** * Handle to an open named pipe * * @author mbechler * */ public interface SmbPipeHandle extends AutoCloseable { /** * Gets the pipe resource associated with this handle. * * @return the pipe */ SmbPipeResource getPipe(); /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterResponse.java
this.returnCode = returnCode; } /** * Gets the context handle. * * @return the context handle */ public byte[] getContextHandle() { return contextHandle; } /** * Sets the context handle. * * @param contextHandle the context handle */ public void setContextHandle(byte[] contextHandle) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java
* Verifies that the handle, ptype, and flags are correctly initialized. */ @Test void testConstructor() { // Create an instance of MsrpcLsarClose with the mock handle MsrpcLsarClose lsarClose = new MsrpcLsarClose(mockHandle); // Verify that the handle passed to the constructor is correctly set in the superclassRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrCloseHandle.java
import jcifs.smb1.dcerpc.rpc; /** * MS-RPC SAMR close handle operation. * * This class implements the SAMR CloseHandle operation for releasing * Security Account Manager (SAM) handles. */ public class MsrpcSamrCloseHandle extends samr.SamrCloseHandle { /** * Creates a new request to close a SAM handle. * * @param policyHandle the policy handle to close */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0)