Class SMSLdapObject

  • All Implemented Interfaces:
    SMSObjectListener, EventListener

    public class SMSLdapObject
    extends SMSObjectDB
    implements SMSObjectListener
    This object represents an LDAP entry in the directory server. The UMS have an equivalent class called PersistentObject. The SMS could not integrate with PersistentObject, because of the its dependecy on the Session object. This would mean that, to instantiate an PersistentObject inside SMS, we need to create an UMS instance, which would be having directory parameters of SMS.

    This class is used both to read and write information into the directory server. The appropriate constructors discusses it is done.

    There can be only three types of SMS entries in the directory (i) entry with organizationUnit object class (attribute: ou) (ii) entry with sunService object class (attributes: ou, labeledURI, sunServiceSchema, sunPluginSchema, and sunKeyValue (sunXMLKeyValue, in the future) (iii) entry with sunServiceComponent object class (attributes: ou, sunServiceID, sunSMSPriority, sunKeyValue. All the schema, configuration and plugin entries will be stored using the above entries.