All Packages Class Hierarchy This Package Previous Next Index
Class iceberg.util.ldap
java.lang.Object
|
+----iceberg.util.ldap
- public class ldap
- extends Object
Class to do ldap lookups. Instantiate an object of this class and
use it to do subsequent name lookups.
-
ldap(String)
- Contructor -- need to give the name server for initialization
-
get_dn_field(String, String)
- Get the value of a given field in a given LDAP DN
-
get_uid(String)
- Get the uid field from the given DN.
-
lookup(String)
- Given the DN (which could be the unique-id or network specific
id of an ICEBERG entity), lookup information in the LDAP
registry.
ldap
public ldap(String LDAPServer)
- Contructor -- need to give the name server for initialization
lookup
public name_lookup_info lookup(String dnStr) throws LDAPException
- Given the DN (which could be the unique-id or network specific
id of an ICEBERG entity), lookup information in the LDAP
registry. The information that has to be retrieved includes: The
RMI URL of the preference registry, the unique id of the entity
and the different network specific ids of the entity.
get_dn_field
public static String get_dn_field(String dnStr,
String field) throws BadDNException
- Get the value of a given field in a given LDAP DN
get_uid
public static String get_uid(String dnStr) throws BadDNException
- Get the uid field from the given DN.
All Packages Class Hierarchy This Package Previous Next Index