Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getRequiredProperty (0.11 sec)

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

            String sid = getRequiredProperty(TestProperties.TEST_GROUP_SID);
            SID s = new SID(sid);
            s.resolve(getRequiredProperty(TestProperties.TEST_DOMAIN_DC), withTestNTLMCredentials(getContext()));
            assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName());
            assertEquals(getRequiredProperty(TestProperties.TEST_GROUP_NAME), s.getAccountName());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/NamingTest.java

            prop.setProperty("jcifs.netbios.wins", getRequiredProperty("jcifs.netbios.wins"));
    
            PropertyConfiguration cfg = new PropertyConfiguration(prop);
            BaseContext c = new BaseContext(cfg);
    
            c.getNameServiceClient().getByName(getRequiredProperty("test.server.netbios"));
            c.getNameServiceClient().getAllByName(getRequiredProperty("test.server.netbios"), true);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/EnumTest.java

        }
    
    
        @Test
        public void testBrowseDomain () throws MalformedURLException, CIFSException {
            CIFSContext ctx = withAnonymousCredentials();
            try ( SmbFile smbFile = new SmbFile("smb://" + getRequiredProperty(TestProperties.TEST_DOMAIN_SHORT), ctx) ) {
                // if domain is resolved through DNS this will be treated as a server and will enumerate shares instead
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/BaseCIFSTest.java

            return new BaseContext(new PropertyConfiguration(props));
        }
    
    
        protected Map<String, String> getProperties () {
            return this.properties;
        }
    
    
        protected String getRequiredProperty ( String prop ) {
            String val = this.properties.get(prop);
            Assume.assumeNotNull(val);
            return val;
        }
    
    
        protected CIFSContext withTestNTLMCredentials ( CIFSContext ctx ) {
    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