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.


Constructor Index

 o ldap(String)
Contructor -- need to give the name server for initialization

Method Index

 o get_dn_field(String, String)
Get the value of a given field in a given LDAP DN
 o get_uid(String)
Get the uid field from the given DN.
 o 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.

Constructors

 o ldap
 public ldap(String LDAPServer)
Contructor -- need to give the name server for initialization

Methods

 o 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.

 o 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

 o 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