Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withConfig (0.06 sec)

  1. 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)
  2. 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)
Back to top