- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getTransportPool (0.13 sec)
-
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Setup default mock behaviors when(ctx.getConfig()).thenReturn(config); when(ctx.getNameServiceClient()).thenReturn(nameSvc); when(ctx.getCredentials()).thenReturn(creds); when(ctx.getTransportPool()).thenReturn(pool); // Default config values when(config.getLocalAddr()).thenReturn(null); when(config.getLocalPort()).thenReturn(0); when(config.getSessionLimit()).thenReturn(10);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
} else { dc = getTransportContext().getNameServiceClient().getByName(this.domainController, true); challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc); } ntlm = NtlmSsp.authenticate(getTransportContext(), req, resp, challenge); if (ntlm == null) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
return getChallenge(tf, dc, 0); } @Override public byte[] getChallenge(final CIFSContext tf, final Address dc, final int port) throws SmbException { try (SmbTransportInternal trans = tf.getTransportPool() .getSmbTransport(tf, dc, port, false, !tf.getCredentials().isAnonymous() && tf.getConfig().isIpcSigningEnforced()) .unwrap(SmbTransportInternal.class)) { trans.ensureConnected();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
if (log.isDebugEnabled()) { log.debug("Using exclusive transport for " + this); } this.exclusiveTransport = this.ctx.getTransportPool() .getSmbTransport(this.ctx, host, loc.getPort(), true, loc.shouldForceSigning()) .unwrap(SmbTransportInternal.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
src/test/java/jcifs/http/NtlmServletTest.java
transportContextField.set(ntlmServlet, cifsContext); } catch (Exception e) { throw new RuntimeException("Failed to inject mock CIFSContext", e); } when(cifsContext.getTransportPool()).thenReturn(transportPool); when(cifsContext.getNameServiceClient()).thenReturn(nameServiceClient); lenient().when(cifsContext.getConfig()).thenReturn(configuration);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
log.debug("Exception in disconnect", e); } finally { this.socket = null; this.digest = null; this.tconHostName = null; this.transportContext.getTransportPool().removeTransport(this); } return wasInUse; } @Override protected long makeKey(final Request request) throws IOException { long m = this.mid.incrementAndGet() - 1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0)