Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isTrustedDomain (0.16 sec)

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

            assertTrue(dfs.isTrustedDomain(context, testDomain));
            assertTrue(dfs.isTrustedDomain(context, testDomain.toLowerCase(Locale.ROOT)));
            String shortDom = getProperties().get(TestProperties.TEST_DOMAIN_SHORT);
            if ( shortDom != null ) {
                assertTrue(dfs.isTrustedDomain(context, shortDom.toUpperCase(Locale.ROOT)));
                assertTrue(dfs.isTrustedDomain(context, shortDom.toLowerCase(Locale.ROOT)));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Dfs.java

                if (strictView && ioe instanceof SmbAuthException) {
                    throw (SmbAuthException)ioe;
                }
            }
            return null;
        }
        public boolean isTrustedDomain(String domain,
                        NtlmPasswordAuthentication auth) throws SmbAuthException
        {
            HashMap domains = getTrustedDomains(auth);
            if (domains == null)
                return false;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

            }
            return null;
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.DfsResolver#isTrustedDomain(jcifs.CIFSContext, java.lang.String)
         */
        @Override
        public boolean isTrustedDomain ( CIFSContext tf, String domain ) throws SmbAuthException {
            synchronized ( this.domainsLock ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                throw new SmbException("The requested list operations is invalid: " + u.toString());
    
            Set<FileEntry> set = new HashSet<>();
    
            if ( tc.getDfs().isTrustedDomain(tc, locator.getServer()) ) {
                /*
                 * The server name is actually the name of a trusted
                 * domain. Add DFS roots to the list.
                 */
                try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
Back to top