Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getTestUser (0.05 sec)

  1. src/test/java/jcifs/tests/BaseCIFSTest.java

            return val;
        }
    
    
        protected CIFSContext withTestNTLMCredentials ( CIFSContext ctx ) {
            return ctx.withCredentials(new NtlmPasswordAuthenticator(getTestUserDomain(), getTestUser(), getTestUserPassword()));
        }
    
    
        protected CIFSContext withTestGuestCredentials () {
            return getContext().withGuestCrendentials();
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/SidTest.java

            s.resolve(getRequiredProperty(TestProperties.TEST_DOMAIN_DC), withTestNTLMCredentials(getContext()));
            assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName());
            assertEquals(getTestUser(), s.getAccountName());
            assertEquals(jcifs.SID.SID_TYPE_USER, s.getType());
        }
    
    
        @Test
        public void resolveGroupSID () throws IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
Back to top