Class ClientsManager


  • public class ClientsManager
    extends Object
    Provides common access to client data.

    Client data is accessed for a particular client type. The underlying client data is stored in the profile service, but this interface should always used for accessing it (not by accessing the profile directly).

    Client does not allow clients to modify the Client Data unless they have a valid user sso token. clients trying to modify Client Data should explicitly call store() to save changes into SMS. versions of the getInstance methods that accept a SSO token should be used if the client code wishes to set client data.

    • Constructor Detail

      • ClientsManager

        public ClientsManager()
        Constructor
    • Method Detail

      • getInstance

        public static Client getInstance​(String clientType)
                                  throws ClientException
        Returns Client instance for a specific client type.
        Parameters:
        clientType - Client Type.
        Returns:
        Requested Client instance.
        Throws:
        ClientException - if specified client type is null or not defined.
      • getDefaultInstance

        public static Client getDefaultInstance()
        Returns a Client instance for the default client type
        Returns:
        The Client instance corresponding to the default client type iPlanet-PUBLIC-METHOD
      • getAllInstances

        public static Iterator getAllInstances()
        Returns an iterator of Client objects for all known client types.
        Returns:
        Iterator of Client objects iPlanet-PUBLIC-METHOD