Lines Matching refs:domain
61 * Maps a distinguished name (RFC 2253) to a fully qualified domain name.
63 * The special RDN "DC=." denotes the root of the domain tree.
65 * RDN "DC=." all reset the domain name and processing continues.
68 * @return A domain name or null if none can be derived.
75 StringBuffer domain = new StringBuffer();
92 (domain.length() == 1 && domain.charAt(0) == '.')) {
93 domain.setLength(0); // reset (when current or previous
96 if (domain.length() > 0) {
97 domain.append('.');
99 domain.append(attrval);
101 domain.setLength(0); // reset (when binary-valued attribute)
104 domain.setLength(0); // reset (when multi-valued RDN or non-DC)
107 return (domain.length() != 0) ? domain.toString() : null;
111 * Locates the LDAP service for a given domain.
113 * given domain name.
115 * @param domainName A string domain name.