Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getTransportPool (0.26 sec)

  1. src/main/java/jcifs/http/NtlmServlet.java

                }
                NtlmPasswordAuthentication ntlm;
                if ( msg.startsWith("NTLM ") ) {
                    byte[] challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc);
                    ntlm = NtlmSsp.authenticate(getTransportContext(), request, response, challenge);
                    if ( ntlm == null )
                        return;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            return getChallenge(tf, dc, 0);
        }
    
    
        @Override
        public byte[] getChallenge ( CIFSContext tf, Address dc, 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/context/CIFSContextWrapper.java

        }
    
    
        @Override
        public BufferCache getBufferCache () {
            return this.delegate.getBufferCache();
        }
    
    
        @Override
        public SmbTransportPool getTransportPool () {
            return this.delegate.getTransportPool();
        }
    
    
        @Override
        public boolean close () throws CIFSException {
            return this.delegate.close();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmHttpFilter.java

                    }
                    else {
                        dc = getTransportContext().getNameServiceClient().getByName(this.domainController, true);
                        challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc);
                    }
    
                    if ( ( ntlm = NtlmSsp.authenticate(getTransportContext(), req, resp, challenge) ) == null ) {
                        return null;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/SessionTest.java

            ctx.getTransportPool().logon(ctx, ctx.getNameServiceClient().getByName(getTestServer()));
        }
    
    
        // #68
        @Test ( expected = SmbException.class )
        public void testPoolLogonFail () throws CIFSException, UnknownHostException {
            CIFSContext ctx = withTestNTLMCredentials(getContext());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/OplockTests.java

    
        @Test
        public void testOpenOplocked () throws UnknownHostException, IOException {
            CIFSContext c = getContext();
            c = withTestNTLMCredentials(c);
            try ( SmbTransportInternal trans = c.getTransportPool().getSmbTransport(c, getTestServer(), 0, false, true)
                    .unwrap(SmbTransportInternal.class);
                  SmbSession sess = trans.unwrap(SmbTransportInternal.class).getSmbSession(c, getTestServer(), null);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/CIFSContext.java

    
        /**
         * @return the buffer cache
         */
        BufferCache getBufferCache ();
    
    
        /**
         * @return the transport pool
         */
        SmbTransportPool getTransportPool ();
    
    
        /**
         * @return the DFS instance for this context
         */
        DfsResolver getDfs ();
    
    
        /**
         * @return the SID resolver for this context
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DfsImpl.java

                // https://lists.samba.org/archive/samba-technical/2009-August/066486.html
                // UniAddress addr = UniAddress.getByName(authDomain, true, tf);
                // SmbTransport trans = tf.getTransportPool().getSmbTransport(tf, addr, 0);
                try ( SmbTransport dc = getDc(tf, authDomain) ) {
                    CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  9. 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);
                        SmbTransportInternal trans = this.exclusiveTransport;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  10. src/main/java/jcifs/context/BaseContext.java

            }
            catch ( MalformedURLException e ) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
    
        @Override
        public SmbTransportPool getTransportPool () {
            return this.transportPool;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getConfig()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 27 18:25:00 UTC 2022
    - 5.3K bytes
    - Viewed (0)
Back to top