- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,154 for Handle (0.04 sec)
-
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
lenient().when(handle.getServerWithDfs()).thenCallRealMethod(); lenient().when(handle.getSessionKey()).thenCallRealMethod(); lenient().when(handle.getBinding()).thenReturn(mockDcerpcBinding); lenient().doCallRealMethod().when(handle).doSendReceiveFragment(any(byte[].class), anyInt(), anyInt(), any(byte[].class));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (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 rights
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
private final SmbFileHandleImpl handle; private final int filter; private final boolean recursive; /** * @param fh * @param filter * @param recursive * */ public SmbWatchHandleImpl(final SmbFileHandleImpl fh, final int filter, final boolean recursive) { this.handle = fh; this.filter = filter; this.recursive = recursive;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarClose.java
package jcifs.smb1.dcerpc.msrpc; /** * Microsoft RPC LSA close handle request. * This class implements the LSARPC close handle operation for closing * LSA policy handles when they are no longer needed. */ public class MsrpcLsarClose extends lsarpc.LsarClose { /** * Creates a new request to close an LSA policy handle. * * @param policyHandle the policy handle to close */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
auth.handle(cbs); // Name should be formatted as username@domain assertEquals("user@DOM", nc.getName()); // Password should be set assertEquals("pass", new String(pc.getPassword())); } @Test @DisplayName("handle: sets only provided callbacks (name-only)") void testHandleNameOnly() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (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));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
} @Test @DisplayName("Should handle null file ID in setter") void testSetNullFileId() { assertDoesNotThrow(() -> request.setFileId(null)); } @Test @DisplayName("Should handle various file ID sizes") void testVariousFileIdSizes() { byte[] shortFileId = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeOutputStream.java
public class SmbPipeOutputStream extends SmbFileOutputStream { private final SmbPipeHandleImpl handle; /** * @param handle * @throws SmbException */ SmbPipeOutputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException { super(handle.getPipe(), th, null, 0, 0, 0); this.handle = handle; } /** * {@inheritDoc} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (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) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0)