Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isTrustedDomain (0.22 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/DfsResolver.java

        /**
         * @param domain
         * @param tf
         * @return whether the given domain is trusted
         * @throws CIFSException
         * @throws jcifs.smb.SmbAuthException
         */
        boolean isTrustedDomain ( CIFSContext tf, String domain ) throws CIFSException;
    
    
        /**
         * Get a connection to the domain controller for a given domain
         * 
         * @param domain
         * @param tf
         * @return connection
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

            if (getType() != TYPE_SERVER)
                throw new SmbException("The requested list operations is invalid: " + url.toString());
    
            map = new HashMap();
    
            if (dfs.isTrustedDomain(getServer(), auth)) {
                /* 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: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top