|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CSSMigrationAPIIF
Interface that defines utility methods to facilitate migration.
Sample use of the API:
Map context = new HashMap(5);
context.put(CSSAPIIF.LOCALE, new Locale("en", "US"));
String logPath = "<ORACLE_INSTANCE>/diagnostics/logs/";
CSSSystem instance = CSSSystem.getInstance(context, logPath);
CSSAPIIF css = instance.getCSSAPI();
CSSMigrationAPIIF migrationAPI = css.getMigrationAPI(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 syncEntry = migrationAPI.validateIdentities(productIdentities);
}
catch (CSSException e)
{
// handle exception
}
Method Summary | |
---|---|
boolean |
isMigrationRequired()
Retrieves the value of property "css.DN.migrationRequired" stored in registry and by default the value of this property is false. |
boolean |
updateApplicationID(java.util.Map context,
java.lang.String oldApplicationID,
java.lang.String newApplicationID)
ESSBASE only API. |
CSSSyncEntryIF |
validateIdentities(java.lang.String[] identities)
Utility API that validates the specified CSS Identities to mark them with one of the following status. |
Method Detail |
---|
boolean isMigrationRequired() throws CSSException
CSSException
- any abnormalityCSSSyncEntryIF validateIdentities(java.lang.String[] identities) throws CSSException
Utility API that validates the specified CSS Identities to mark them with one of the following status.
com.hyperion.css.sync.impl.CSSIdenticalEntry
-
This status indicates the identities is identical and has no changes.
com.hyperion.css.sync.impl.CSSUpdatedEntry
- This
status indicates the identities has been updated and requires update.
com.hyperion.css.sync.impl.CSSDeletedEntry
- This
status indicates the identities is deleted in external provider.
com.hyperion.css.sync.impl.CSSIgnoredEntry
- This
status indicates that API is unable to find the status.
com.hyperion.css.sync.impl.CSSAmbiguousEntry
- This
This API helps identify if the specified identities are still valid and if not act accordingly. The caller of this API might make updates to their repository with the information returned by this API. Note that this API does not make any changes to any repository including Native Directory.
In case the provider is down the specified CSS Identity will be marked as ignored.
This API does not perform provider migration by default i.e., migrating identities from one provider (e.g, LDAP) to other provider (e.g, MSAD).
If API has to perform provider migration, caller of this API has to set option "doprovider=true" in CSSMigration.properties and set the properties file to System environment property using one of the below mentioned methods while calling this API,
Note: If "doprovider=false" the API will not perform provider migration.
identities
- a String object containing external user/group identities.
CSSException
- any abnormalityboolean updateApplicationID(java.util.Map context, java.lang.String oldApplicationID, java.lang.String newApplicationID) throws CSSException
context
- oldApplicationID
- newApplicationID
-
CSSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |