public interface JpsUtilUpgradeIfc
| Modifier and Type | Method and Description | 
|---|---|
| void | upgradeAppPolicies(java.lang.String jpsContext)This method will upgrade policy store by creating resources corresponding to permissions in grants in all application policies configured in the policy store. | 
| void | upgradeAppPolicies(java.lang.String jpsCtxName, java.io.File resTypeFile)This method will upgrade policy store by creating resource types, and resources corresponding to permissions in grants in all application policies configured in the policy store. | 
| void | upgradeAppPolicies(java.lang.String jpsCtxName, java.lang.String appName)This method will upgrade policy store by creating resources corresponding to permissions in grants in specified application policies. | 
| void | upgradeAppPoliciesDataXml(java.lang.String srcJaznDataFile, java.lang.String srcAppName, java.lang.String restypeFile, java.lang.String dstJaznDataFile) | 
| void | upgradeLdapPolicyData(java.lang.String jaznConfigFile, java.lang.String dstJpsContext)Method to migrate policies from an OID configured in a jazn config file (source) to jps policy store (destination) | 
| void | upgradeXMLCredentialData(java.lang.String srcJaznDataFile, java.lang.String srcCVSSysAccounts, boolean srcDelSysAccounts, java.lang.String dstJpsContext)Method to migrate credentials in a jazn data xml file (source) to jps credential store (destination) | 
| void | upgradeXMLPolicyData(java.lang.String srcJaznDataFile, java.lang.String dstJpsContext)Method to migrate policies in a jazn data xml file (source) to jps policy store (destination) | 
| void | upgradeXMLRealmData(java.lang.String srcJaznDataFile, java.lang.String srcRealm, java.lang.String dstJpsContext)Method to migrate realm in a jazn data xml file (source) to jps identity store (destination) | 
void upgradeXMLCredentialData(java.lang.String srcJaznDataFile,
                              java.lang.String srcCVSSysAccounts,
                              boolean srcDelSysAccounts,
                              java.lang.String dstJpsContext)
                       throws JpsException
srcJaznDataFile - the absolute path of the source jazn data filesrcCVSSysAccounts - Comma seperated values of user names whose credentials have to be migrated. a username is defined as follows realmname/username eg. jazn.com/oc4jadmin the realm name is optional with the default taken as jazn.com Thus eg. of a valid value for srcCVSSysAccounts is JtaAdmin, jazn.com/oc4jadmin, realm2/JtaAdminsrcDelSysAccounts - Boolean flag which determines whether or not all of the the system accounts specified in srcCVSSysAccounts be deleted from srcJaznDataFile.dstJpsContext - The JPS Context which defines the destination credential store (defined in the jps-config.xml file).JpsExceptionvoid upgradeXMLRealmData(java.lang.String srcJaznDataFile,
                         java.lang.String srcRealm,
                         java.lang.String dstJpsContext)
                  throws JpsException
srcJaznDataFile - the absolute path of the source jazn data filesrcRealm - the source realm name to be migrated.dstJpsContext - The JPS Context which defines the destination identity store (defined in the jps-config.xml file).JpsException - // TODO to modify it to migrate all realms.void upgradeXMLPolicyData(java.lang.String srcJaznDataFile,
                          java.lang.String dstJpsContext)
                   throws JpsException
srcJaznDataFile - the absolute path of the source jazn data filedstJpsContext - The JPS Context which defines the destination policy store (defined in the jps-config.xml file).JpsExceptionvoid upgradeLdapPolicyData(java.lang.String jaznConfigFile,
                           java.lang.String dstJpsContext)
                    throws JpsException
jaznConfigFile - the absolute path of the jazn.xml file configured for ldap providerdstJpsContext - The JPS Context which defines the destination policy store (defined in the jps-config.xml file).JpsExceptionvoid upgradeAppPoliciesDataXml(java.lang.String srcJaznDataFile,
                               java.lang.String srcAppName,
                               java.lang.String restypeFile,
                               java.lang.String dstJaznDataFile)
                        throws JpsException
JpsExceptionvoid upgradeAppPolicies(java.lang.String jpsCtxName,
                        java.lang.String appName)
                 throws JpsException
jpsCtxName - The JPS Context which defines the destination policy store (defined in the jps-config.xml file).appName - Application Stripe nameJpsExceptionvoid upgradeAppPolicies(java.lang.String jpsContext)
                 throws JpsException
jpsCtxName - The JPS Context which defines the destination policy store (defined in the jps-config.xml file).JpsExceptionvoid upgradeAppPolicies(java.lang.String jpsCtxName,
                        java.io.File resTypeFile)
                 throws JpsException
jpsCtxName - The JPS Context which defines the destination policy store (defined in the jps-config.xml file).resTypeFile - The jazn-data file which defines resource types to be defined in each application configured in the target policy store.JpsException