public class EntityObject extends Object
Modifier and Type | Field and Description |
---|---|
protected SOAPClient |
client |
protected String |
entityLocation |
Constructor and Description |
---|
EntityObject(SSOToken token,
String entityLocation) |
Modifier and Type | Method and Description |
---|---|
Set |
createEntity(String entityName,
String entityType,
Map attributes)
Creates entity.
|
void |
deleteEntity(String entityName,
String entityType)
Deletes entities.
|
Map |
getEntity(String entityName,
String entityType)
Returns the entity object for each entity given the entityType and
entityName(s) in that particular organization.
|
Set |
getEntityNames(String entityName,
String entityType,
String entityFilter)
Returns a set of Entity Names given the Entity Type for that particular
organization.
|
void |
modifyEntity(String entityName,
String entityType,
Map attributes)
Sets or replaces attribute values with the new values supplied and Stores
the changes to directory server.
|
protected String entityLocation
protected SOAPClient client
public EntityObject(SSOToken token, String entityLocation) throws EntityException
EntityException
public Set createEntity(String entityName, String entityType, Map attributes) throws EntityException, SSOException
entityName
- Name of the entity.eg.cn=websphereAgent.entityType
- Type of entity being created. eg. Agent The types supported by
SDK are configured in the list of Managed Objects in the
DAI
service.attributes
- Map where the key is the name of the entity, and the value is
a Map to represent Attribute-Value PairsAMEntity
objects createdEntityException
- if there is an internal error in the AM StoreSSOException
- if the single sign on token is no longer validpublic void deleteEntity(String entityName, String entityType) throws EntityException, SSOException
entityName
- Name of the entity.eg.cn=websphereAgententityType
- Type of entity being created. eg. Agent The types supported by
SDK are configured in the list of Managed Objects in the
DAI
service.EntityException
- if there is an internal error in the AM StoreSSOException
- if the sign on is no longer validpublic Map getEntity(String entityName, String entityType) throws EntityException, SSOException
entityName
- Name of the entity. example
cn=websphereAgent
.entityType
- Type of entity being created. eg. Agent The types
supported by SDK are configured in the list of Managed Objects
in the DAI
service.EntityException
- if there is an internal error in the AM Store.SSOException
- if the sign on is no longer valid.public Set getEntityNames(String entityName, String entityType, String entityFilter) throws EntityException, SSOException
entityName
- Name of the entity. example
cn=websphereAgent
.entityType
- Type of entity being created. eg. Agent The types
supported by SDK are configured in the list of Managed Objects
in the DAI
service.entityFilter
- EntityException
- if there is an internal error in the AM Store.SSOException
- if the sign on is no longer valid.public void modifyEntity(String entityName, String entityType, Map attributes) throws EntityException, SSOException
entityName
- Name of the entity. example
cn=websphereAgent
.entityType
- Type of entity being created. eg. Agent The types
supported by SDK are configured in the list of Managed Objects
in the DAI
service.attributes
- EntityException
- if there is an internal error in the AM Store.SSOException
- if the sign on is no longer valid.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.