Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for CIFSContext (0.1 sec)

  1. src/main/java/jcifs/CIFSContext.java

         */
        CIFSContext withDefaultCredentials ();
    
    
        /**
         * @return a child context using anonymous credentials
         */
        CIFSContext withAnonymousCredentials ();
    
    
        /**
         * 
         * @return a child context using guest credentials
         */
        CIFSContext withGuestCrendentials ();
    
    
        /**
         * 
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/context/AbstractCIFSContext.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#withDefaultCredentials()
         */
        @Override
        public CIFSContext withDefaultCredentials () {
            return withCredentials(getDefaultCredentials());
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#withGuestCrendentials()
         */
        @Override
        public CIFSContext withGuestCrendentials () {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

        private byte[] unicodeHash;
        private boolean hashesExternal = false;
        private CIFSContext context;
    
    
        /**
         * 
         */
        private NtlmPasswordAuthentication () {}
    
    
        /**
         * Construct anonymous credentials
         * 
         * @param tc
         */
        public NtlmPasswordAuthentication ( CIFSContext tc ) {
            this(tc, "", "", "");
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/CIFSContextWrapper.java

    
    /**
     * @author mbechler
     *
     */
    public class CIFSContextWrapper implements CIFSContext {
    
        private final CIFSContext delegate;
        private Handler wrappedHandler;
    
    
        /**
         * @param delegate
         *            context to delegate non-override methods to
         * 
         */
        public CIFSContextWrapper ( CIFSContext delegate ) {
            this.delegate = delegate;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/TimeoutTest.java

        }
    
    
        protected CIFSContext lowTimeout ( CIFSContext ctx ) {
            return withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) {
    
                @Override
                public int getSoTimeout () {
                    return 100;
                }
    
            });
    
        }
    
    
        protected CIFSContext fastIdle ( CIFSContext ctx ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/BaseCIFSTest.java

        }
    
    
        protected CIFSContext withTestNTLMCredentials ( CIFSContext ctx ) {
            return ctx.withCredentials(new NtlmPasswordAuthenticator(getTestUserDomain(), getTestUser(), getTestUserPassword()));
        }
    
    
        protected CIFSContext withTestGuestCredentials () {
            return getContext().withGuestCrendentials();
        }
    
    
        protected CIFSContext withAnonymousCredentials () {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/SmbNegotiationResponse.java

     */
    package jcifs.internal;
    
    
    import jcifs.CIFSContext;
    import jcifs.DialectVersion;
    import jcifs.util.transport.Response;
    
    
    /**
     * @author mbechler
     *
     */
    public interface SmbNegotiationResponse extends CommonServerMessageBlock, Response {
    
        /**
         * 
         * @param cifsContext
         * @param singingEnforced
         * @param request
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/BaseContext.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getConfig()
         */
        @Override
        public Configuration getConfig () {
            return this.config;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getDfs()
         */
        @Override
        public DfsResolver getDfs () {
            return this.dfs;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 27 18:25:00 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/SessionTest.java

            }
        }
    
    
        @Test
        public void testAuthErrorNoConnLeak () throws Exception {
            CIFSContext cifsContext = getNewContext().withCredentials(new NtlmPasswordAuthenticator("wrong", "wrong", "wrong"));
            try ( SmbFile f = new SmbFile("smb://" + getTestServer() + "/IPC$/test", cifsContext); ) {
                f.connect();
                assertFalse(true);
            }
            catch ( SmbAuthException e ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbTransportPool.java

         * @param port
         * @param exclusive
         * @param forceSigning
         * @return a connected transport
         * @throws UnknownHostException
         * @throws IOException
         */
        SmbTransport getSmbTransport ( CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning )
                throws UnknownHostException, IOException;
    
    
        /**
         * Get transport connection
         * 
         * @param tc
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 6.3K bytes
    - Viewed (0)
Back to top