The main interface to use the directory service is cnrg.itx.ds.DirectoryService
. To use the directory service component, the user
needs to authenticate himself/herself by calling the DirectoryService.declareIdentity
method. Upon authentication successful,
the user can lookup his/her user information (e.g. extension number, access level, custom message, etc.), manipulate his/her locations information
(e.g. default and customized location), change his/her password, lookup all registered users in the ITX network, and reach them by their extension
number or userID.
Administrator using the directory service is provided with a management interface to add or remove a user from the ITX network.
Currently the directory service uses BIND as its database, if it is desired to use another database, the programmer should inherit the DSComm class and override the included methods.