- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 321 for HANDLE (0.64 seconds)
-
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
assertEquals(state, result, "isOpen should reflect handle state"); verify(handle, times(1)).isOpen(); } @Test @DisplayName("ensureTreeConnected delegates and returns the tree handle") void ensureTreeConnected_delegatesAndReturns() throws Exception { // Arrange SmbPipeOutputStream out = newStream(); when(handle.ensureTreeConnected()).thenReturn(tree); // Act
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
} @Test @DisplayName("Should handle null delimiter by inserting 'null' string") void testJoinWithNullDelimiter() { String result = StringUtil.join(null, "first", "second", "third"); assertEquals("firstnullsecondnullthird", result); } @Test @DisplayName("Should handle null elements in array") void testJoinWithNullElements() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java
import jcifs.smb1.dcerpc.rpc; import jcifs.smb1.smb1.SmbException; /** * LSA policy handle for Local Security Authority operations. */ public class LsaPolicyHandle extends rpc.policy_handle { DcerpcHandle handle; /** * Constructs an LSA policy handle. * * @param handle the DCERPC handle * @param server the server name * @param access the access rightsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenAlias.java
/** * MSRPC implementation for opening an alias handle. * This class provides functionality to open a handle to a SAM alias * (local group) using the SAMR RPC interface. */ public class MsrpcSamrOpenAlias extends samr.SamrOpenAlias { /** * Creates a new request to open an alias handle. * * @param handle the domain handle * @param access the desired access rightsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
assertNotNull(capturedRpc); assertEquals(mockPolicyHandle, capturedRpc.handle); assertEquals(access, capturedRpc.access_mask); assertEquals(mockSid, capturedRpc.sid); assertEquals(handle, capturedRpc.domain_handle); // Ensure the handle itself is passed for output } @Test void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java
import jcifs.smb1.smb1.SmbException; /** * Handle for Security Account Manager (SAM) alias operations. * This class represents an open handle to a SAM alias and provides * operations for managing alias membership and properties. */ public class SamrAliasHandle extends rpc.policy_handle { DcerpcHandle handle; /** * Creates a new SAM alias handle. * * @param handle the DCE/RPC handle for communication
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java
} /** * Sets the context handle for unregistration. * * @param contextHandle the context handle from registration */ public void setContextHandle(byte[] contextHandle) { this.contextHandle = contextHandle != null ? contextHandle.clone() : null; } /** * Gets the context handle. * * @return the context handle */ public byte[] getContextHandle() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
/** * Information about a durable or persistent SMB handle. * This class holds all the necessary information to reconnect * a handle after network failures or server reboots. */ public class HandleInfo implements Serializable { private static final long serialVersionUID = 1L; /** * The full path to the file or directory associated with this handle */ private final String path; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 5.9K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java
* * @param handle the DCE/RPC handle for communication * @param server the server name (null defaults to local server) * @param access the desired access rights * @throws IOException if an I/O error occurs during handle creation */ public SamrPolicyHandle(final DcerpcHandle handle, String server, final int access) throws IOException { this.handle = handle; if (server == null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class)); // Act LsaPolicyHandle handle = new LsaPolicyHandle(mockDcerpcHandle, server, access); // Assert assertNotNull(handle); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0)