public class ClientsManager extends Object
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.
Modifier and Type | Field and Description |
---|---|
protected static ClientTypesManager |
clientTypesManager |
Constructor and Description |
---|
ClientsManager()
Constructor
|
Modifier and Type | Method and Description |
---|---|
static Iterator |
getAllInstances()
Returns an iterator of Client objects for all known client types.
|
static Client |
getDefaultInstance()
Returns a Client instance for the default client type
|
static Client |
getInstance(String clientType)
Returns Client instance for a specific client type.
|
protected static ClientTypesManager clientTypesManager
public static Client getInstance(String clientType) throws ClientException
clientType
- Client Type.ClientException
- if specified client type is null or not defined.public static Client getDefaultInstance()
public static Iterator getAllInstances()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.