Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for domain (0.14 sec)

  1. src/main/java/jcifs/smb/DfsImpl.java

        public boolean isTrustedDomain ( CIFSContext tf, String domain ) throws SmbAuthException {
            synchronized ( this.domainsLock ) {
                Map<String, Map<String, CacheEntry<DfsReferralDataInternal>>> domains = getTrustedDomains(tf);
                if ( domains == null )
                    return false;
                domain = domain.toLowerCase(Locale.ROOT);
                return domains.get(domain) != null;
            }
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/SidTest.java

        @Test
        public void resolveWellKnownUsers () throws IOException {
            SID domsid = new SID(getRequiredProperty(TestProperties.TEST_DOMAIN_SID));
            int rids[] = new int[] {
                500, 501
            };
            for ( int rid : rids ) {
                SID sid = new SID(domsid, rid);
                sid.resolve(getRequiredProperty(TestProperties.TEST_DOMAIN_DC), withTestNTLMCredentials(getContext()));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            this.domain = domain;
            this.username = username;
            this.password = password;
    
            initDefaults();
    
            if( domain == null ) this.domain = DEFAULT_DOMAIN;
            if( username == null ) this.username = DEFAULT_USERNAME;
            if( password == null ) this.password = DEFAULT_PASSWORD;
        }
    /**
     * Create an <tt>NtlmPasswordAuthentication</tt> object with raw password
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SID.java

         * 
         * @param domsid
         * @param id
         */
        public SID ( SID domsid, SID id ) {
            this.revision = domsid.revision;
            this.identifier_authority = domsid.identifier_authority;
            this.sub_authority_count = (byte) ( domsid.sub_authority_count + id.sub_authority_count );
            this.sub_authority = new int[this.sub_authority_count];
            int i;
            for ( i = 0; i < domsid.sub_authority_count; i++ ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  5. 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
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

        }
    
        /**
         * Returns the supplied authentication domain.
         *
         * @return A <code>String</code> containing the supplied domain.
         */
        public String getSuppliedDomain() {
            return suppliedDomain;
        }
    
        /**
         * Sets the supplied authentication domain for this message.
         *
         * @param suppliedDomain The supplied domain for this message.
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

        }
    
        /**
         * Returns the domain in which the user has an account.
         *
         * @return A <code>String</code> containing the domain for the user.
         */
        public String getDomain() {
            return domain;
        }
    
        /**
         * Sets the domain for this message.
         *
         * @param domain The domain.
         */
        public void setDomain(String domain) {
            this.domain = domain;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmUtil.java

        }
    
    
        /**
         * 
         * @param domain
         * @param username
         * @param password
         * 
         * @return the caclulated mac
         */
        public static byte[] nTOWFv2 ( String domain, String username, String password ) {
            return nTOWFv2(domain, username, getNTHash(password));
        }
    
    
        /**
         * 
         * @param domain
         * @param username
         * @param passwordHash
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 9.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

            String domain = tc.getConfig().getDefaultDomain();
            byte[] ti = TARGET_INFO_CACHE.get(domain);
            if ( ti != null ) {
                return ti;
            }
    
            ti = makeTargetInfo(tc, domain);
            TARGET_INFO_CACHE.put(domain, ti);
            return ti;
        }
    
    
        /**
         * @param domain
         * @param domainLength
         * @param server
         * @return
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            DEFAULT_DOMAIN = domain;
        }
    
        public NtlmHttpURLConnection(HttpURLConnection connection) {
            super(connection.getURL());
            this.connection = connection;
            requestProperties = new HashMap();
        }
    
        public void connect() throws IOException {
            if (connected) return;
            connection.connect();
            connected = true;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
Back to top