public class Client extends Observable
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).
Modifier and Type | Method and Description |
---|---|
static Iterator |
getAllInstances()
Deprecated.
Use ClientsManager#getAllInstances()
|
String |
getClientType()
Gets the name of the client type for the data in this client instance.
|
static Client |
getDefaultInstance()
Deprecated.
Use ClientsManager#getDefaultInstance()
|
static Client |
getInstance(String clientType)
Deprecated.
Use ClientsManager#getInstance(String)
|
Set |
getProperties(String name)
Gets the client property for the specified key.
|
String |
getProperty(String name)
Gets the client property for the specified key.
|
Set |
getPropertyNames()
Returns a set of property names for this client data instance.
|
public static Client getInstance(String clientType) throws ClientException
clientType
- Client Type.ClientException
- if specified client type is null or not definedpublic static Client getDefaultInstance()
public static Iterator getAllInstances()
public String getClientType()
public String getProperty(String name)
name
- The key for the client property to be returned.public Set getProperties(String name)
name
- The key for the client property to be returned.public Set getPropertyNames()
Copyright © 2010-2016, ForgeRock All Rights Reserved.