public class DefaultClientConfigHandler extends java.lang.Object implements ClientConfigurationHandler
| Modifier and Type | Method and Description |
|---|---|
void |
createNewConfiguration(java.lang.String clientDetails)
Used by the PAM Service to check whether the client's configuration details are available
|
java.lang.String |
getConfigurationContent()
Used by the PAM Service to get the registered client's details
|
boolean |
isConfigurationAvailable()
Used by the PAM Service to get the configuration content.
|
void |
removeConfiguration()
Remove the stored configuration
|
public java.lang.String getConfigurationContent()
throws SDKOperationFailedException
ClientConfigurationHandlergetConfigurationContent in interface ClientConfigurationHandlerSDKOperationFailedException - if unable to fetch the configuration contentpublic void removeConfiguration()
throws SDKOperationFailedException
ClientConfigurationHandlerremoveConfiguration in interface ClientConfigurationHandlerSDKOperationFailedException - if Unable to remove the configurationpublic void createNewConfiguration(java.lang.String clientDetails)
throws SDKOperationFailedException
ClientConfigurationHandlercreateNewConfiguration in interface ClientConfigurationHandlerclientDetails - The client content will be provided by the PAM Server on successful registrationSDKOperationFailedException - if Unable to store or create the configurationpublic boolean isConfigurationAvailable()
ClientConfigurationHandlerisConfigurationAvailable in interface ClientConfigurationHandler