Package com.sun.identity.sm
Class SMSMigration70
- java.lang.Object
-
- com.sun.identity.sm.SMSMigration70
-
public class SMSMigration70 extends Object
-
-
Constructor Summary
Constructors Constructor Description SMSMigration70()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static voidaddIdRepoAMSDKPlugin(SSOToken token, String orgName)Adds IdRepo AMSDK plugin to the given organization nameprotected static MapgetOrgAttributes(SSOToken token, String org)Adds these two organization attributes to realm.static voidmain(String[] args)static voidmigrate63To70(SSOToken token, String entryDN)static voidmigrateConfigData(SSOToken token, String realmDN, String serviceName, String org)static voidmigrateConfigs(SSOToken token, ServiceConfig scGet, String serviceName, OrganizationConfigManager ocmAdd)protected static voidmigrateDelegationPolicies(SSOToken token, String orgName)Migrate delegation policies to have correct policy name, resource name and subjectsstatic voidmigrateOrganization(SSOToken token, String org)static voidmigrateSubEntries(SSOToken token, ServiceConfig newServiceConfig, ServiceConfig oldSubConfig, String subConfigName)static voidmigrateToRealms(SSOToken token, String entryDN)
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
addIdRepoAMSDKPlugin
protected static void addIdRepoAMSDKPlugin(SSOToken token, String orgName) throws SMSException, SSOException
Adds IdRepo AMSDK plugin to the given organization name- Throws:
SMSExceptionSSOException
-
migrateDelegationPolicies
protected static void migrateDelegationPolicies(SSOToken token, String orgName) throws SSOException
Migrate delegation policies to have correct policy name, resource name and subjects- Throws:
SSOException
-
getOrgAttributes
protected static Map getOrgAttributes(SSOToken token, String org)
Adds these two organization attributes to realm. "sunOrganizationStatus=inetDomainStatus" From AM point of view, all these 3 attributes in AMSDK Organization serve the purpose of identifying the realm give the alias names. "sunOrganizationAliases=sunOrganizationAlias" "sunOrganizationAliases=sunPreferredDomain" "sunOrganizationAliases=associatedDomain"
-
migrateConfigData
public static void migrateConfigData(SSOToken token, String realmDN, String serviceName, String org)
-
migrateConfigs
public static void migrateConfigs(SSOToken token, ServiceConfig scGet, String serviceName, OrganizationConfigManager ocmAdd)
-
migrateSubEntries
public static void migrateSubEntries(SSOToken token, ServiceConfig newServiceConfig, ServiceConfig oldSubConfig, String subConfigName)
-
-