|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface 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
via AMConfig.properties
. The property to set is
com.iplanet.ClientTypesManagerImpl
.
Method Summary | |
java.util.Map |
getAllClientInstances()
Gets all client instance as Map. |
java.util.Set |
getAllClientTypes()
Get names of all client types |
Client |
getClientInstance(java.lang.String clientType)
Gets client object for specified client type. |
Client |
getClientInstance(java.lang.String clientType,
SSOToken token)
Gets client object for specified client type with specified token |
java.util.Map |
getClientTypeData(java.lang.String clientType)
Returns properties of the requested client type |
java.lang.String |
getDefaultClientType()
Gets default client type name |
void |
initManager()
Initializes the ClientTypesManager . |
void |
setDirty(java.lang.String clientType,
java.util.Map data)
Updates client data. |
void |
store(SSOToken token)
Save changed to persistent store. |
void |
updateClientData()
Reload all Client data. |
Method Detail |
public void initManager()
ClientTypesManager
.public java.util.Map getAllClientInstances()
public Client getClientInstance(java.lang.String clientType)
clientType
- requested client type.public Client getClientInstance(java.lang.String clientType, SSOToken token)
clientType
- requested client typetoken
- SSO Tokenpublic java.util.Map getClientTypeData(java.lang.String clientType)
clientType
- requested client typepublic java.lang.String getDefaultClientType()
public java.util.Set getAllClientTypes()
public void updateClientData() throws ClientException
ClientException
- if having problem update client datapublic void store(SSOToken token) throws SMSException, SSOException
token
- single sign on Token of the caller.SSOException
- if the token is not valid.SMSException
- if having problem saving changes.public void setDirty(java.lang.String clientType, java.util.Map data)
store()
after this method.clientType
- client typedata
- client data. Key is the property name and value is the
property value as String.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |