- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 421 for SERVER (1.14 sec)
-
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
verify(pooledSpy).disconnect(false, false); verify(nonPooledSpy).disconnect(false, false); } @Test @DisplayName("Should get challenge from server") void testGetChallenge() throws Exception { // Given: Mock transport with server key byte[] expectedKey = { 1, 2, 3, 4 }; SmbTransportPoolImpl poolSpy = spy(pool); when(ctx.getTransportPool()).thenReturn(poolSpy);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
// Simulate resolve call by setting names/types and thus enabling cache population Object[] args = inv.getArguments(); String server = (String) args[0]; CIFSContext c = (CIFSContext) args[1]; assertNull(server); // We will pass null; method should forward it unchanged assertSame(ctx, c); SID[] toResolve = (SID[]) args[2];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect4Test.java
*/ @Test void testMsrpcSamrConnect4() { // Given final String server = "test-server"; final int access = 1; // When final MsrpcSamrConnect4 request = new MsrpcSamrConnect4(server, access, this.policyHandle); // Then assertEquals(0, request.getPtype());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* <tr><td ><pre> * new SmbNamedPipe( "smb1://server/IPC$/PIPE/foo", * SmbNamedPipe.PIPE_TYPE_RDWR | * SmbNamedPipe.PIPE_TYPE_CALL ); * </pre></td><td> * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface. * </td></tr> * <tr><td ><pre> * new SmbNamedPipe( "smb1://server/IPC$/foo", * SmbNamedPipe.PIPE_TYPE_RDWR |
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
assertNotNull(response.getServerGuid(), "Server GUID should not be null"); assertEquals(16, response.getServerGuid().length, "Server GUID should be 16 bytes"); assertArrayEquals(new byte[16], response.getServerGuid(), "Initial server GUID should be all zeros"); assertEquals(0, response.getSecurityMode(), "Initial security mode should be 0");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
public byte[] getName() { return CONTEXT_NAME_BYTES; } /** * Gets the lease key from the server response * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Gets the lease state granted by the server * @return the granted lease state */ public int getLeaseState() { return leaseState; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java
super(config, andx); } /** * Returns the native LAN Manager string reported by the server. * * @return the nativeLanMan */ public final String getNativeLanMan() { return this.nativeLanMan; } /** * Returns the native operating system string reported by the server. * * @return the nativeOs */ public final String getNativeOs() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java
INTERFACES.put(name, syntax); } String proto; String server; String endpoint = null; HashMap options = null; UUID uuid = null; int major; int minor; DcerpcBinding(final String proto, final String server) { this.proto = proto; this.server = server; } void setOption(final String key, final Object val) throws DcerpcException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
byte[] server = {}; final String host = tc.getNameServiceClient().getLocalHost().getHostName(); if (host != null) { try { server = host.getBytes(UNI_ENCODING); } catch (final IOException ex) { log.debug("Failed to get host bytes", ex); } } final int serverLength = server.length;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0)