|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This API is utilized by HSS and products to synchronize external users and groups identities with there respective repository.
Please note sync() method is invoked only by HSS to synchronize native directory.
Products should invoke updateIdentities() to know the status of the identities specified. Following are the status returned by updateIdentities() to the specified identities.
CSSIdenticalEntry
-
This status indicates the identities is identical and has no changes.
CSSUpdatedEntry
- This
status indicates the identities has been updated and requires update.
CSSDeletedEntry
- This
status indicates the identities is deleted in external provider.
CSSIgnoredEntry
- This
status indicates that API is unable to find the status.
CSSAmbiguousEntry
- This
status indicates that API has found more than one simillar identities, so it
should be handled manually by Administrator.
Sample use of the API:
Map context = new HashMap(5);
CSSSystem instance = CSSSystem.getInstance();
CSSAPIIF css = instance.getCSSAPI();
context.put(CSSAPIIF.LOCALE, new Locale("en", "US"));
context.put(CSSAPIIF.LOG_PREPEND_TEXT, "[APP_NAME/IPADDRESS]");
css.initialize(context, appCallback);
CSSSyncAPIIF syncAPI = cssApiIf.getSyncAPI(context);
String productIdentities[] =
{
"msad://DN=CN=jeff,OU=East,DC=yuma,DC=hyperion,DC=com?USER",
"ldap://DN=uid=john,ou=West,ou=People,dc=puma,dc=hyperion,dc=com?USER"
}
try
{
CSSSyncEntryIF syncEntryStatus = syncAPI.updateIdentities(productIdentities);
}
catch (CSSException e)
{
}
Method Summary | |
void |
sync()
This method will update external user and group identities in the Hyperion Native Directory for those objects that have moved in the external directory. |
CSSSyncEntryIF |
updateIdentities(java.lang.String[] identities)
This method will update external user and group identities status for those objects that have moved in the external directory. |
Method Detail |
public void sync() throws CSSException
CSSException
- any abnormalitypublic CSSSyncEntryIF updateIdentities(java.lang.String[] identities) throws CSSException
identities
- a String object containing external user/group identities.
CSSException
- any abnormality
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |