Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for withConfig (0.13 sec)

  1. 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 ) {
            return withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) {
    
                @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

            CIFSContext bctx = withAnonymousCredentials();
    
            // ensure that the domain name gets resolved through WINS so that
            // it gets the workgroup type.
            CIFSContext ctx = withConfig(bctx, new DelegatingConfiguration(bctx.getConfig()) {
    
                @Override
                public List<ResolverType> getResolveOrder () {
                    return Arrays.asList(ResolverType.RESOLVER_WINS);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/SessionTest.java

                ignoreAuthFailure(e);
            }
        }
    
    
        @Test
        public void logonGuestAlternative () throws IOException {
    
            CIFSContext ctx = getContext();
            ctx = withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) {
    
                @Override
                public String getGuestUsername () {
                    return "jcifs-guest";
                }
            }).withGuestCrendentials();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/BaseCIFSTest.java

            }
    
    
            @Override
            public Configuration getConfig () {
                return this.cfg;
            }
        }
    
    
        protected static CIFSContext withConfig ( CIFSContext ctx, final DelegatingConfiguration cfg ) {
            return new CIFSConfigContextWrapper(ctx, cfg);
        }
    
    
        @Before
        public void setUp () throws Exception {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
Back to top