Package com.iplanet.services.cdm
Interface ClientTypesManager
-
- All Known Implementing Classes:
BasicClientTypesManager,DefaultClientTypesManager
public interface ClientTypesManagerInterface that needs to be implemented by external applications inorder to do some special processing for client management. The implementation module is pluggable and is configurable viaAMConfig.properties. The property to set iscom.iplanet.ClientTypesManagerImpl.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MapgetAllClientInstances()Gets all client instance as Map.SetgetAllClientTypes()Get names of all client typesClientgetClientInstance(String clientType)Gets client object for specified client type.ClientgetClientInstance(String clientType, SSOToken token)Gets client object for specified client type with specified tokenMapgetClientTypeData(String clientType)Returns properties of the requested client typeStringgetDefaultClientType()Gets default client type namevoidinitManager()Initializes theClientTypesManager.voidsetDirty(String clientType, Map data)Updates client data.voidstore(SSOToken token)Save changed to persistent store.voidupdateClientData()Reload all Client data.
-
-
-
Method Detail
-
initManager
void initManager()
Initializes theClientTypesManager.
-
getAllClientInstances
Map getAllClientInstances()
Gets all client instance as Map.- Returns:
- Map of clients. Key is the client type, value is the Client object
-
getClientInstance
Client getClientInstance(String clientType)
Gets client object for specified client type.- Parameters:
clientType- requested client type.- Returns:
- The requested Client object
-
getClientInstance
Client getClientInstance(String clientType, SSOToken token)
Gets client object for specified client type with specified token- Parameters:
clientType- requested client typetoken- SSO Token- Returns:
- The requested Client object
-
getClientTypeData
Map getClientTypeData(String clientType)
Returns properties of the requested client type- Parameters:
clientType- requested client type- Returns:
- All properties of the request client type as Map
-
getDefaultClientType
String getDefaultClientType()
Gets default client type name- Returns:
- The default client type name
-
getAllClientTypes
Set getAllClientTypes()
Get names of all client types- Returns:
- Set of client types as String
-
updateClientData
void updateClientData() throws ClientExceptionReload all Client data.- Throws:
ClientException- if having problem update client data
-
store
void store(SSOToken token) throws SMSException, SSOException
Save changed to persistent store.- Parameters:
token- single sign on Token of the caller.- Throws:
SSOException- if the token is not valid.SMSException- if having problem saving changes.
-
-