Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-03


oracle.security.jps.tools.utility
Interface JpsUtilUpgradeIfc


public interface JpsUtilUpgradeIfc

Interface which will have methods for support of Upgrade related activities


Method Summary
 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)

 

Method Detail

upgradeXMLCredentialData

void upgradeXMLCredentialData(java.lang.String srcJaznDataFile,
                              java.lang.String srcCVSSysAccounts,
                              boolean srcDelSysAccounts,
                              java.lang.String dstJpsContext)
                              throws JpsException
Method to migrate credentials in a jazn data xml file (source) to jps credential store (destination)
Parameters:
srcJaznDataFile - the absolute path of the source jazn data file
srcCVSSysAccounts - 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/JtaAdmin
srcDelSysAccounts - 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).
Throws:
JpsException

upgradeXMLRealmData

void upgradeXMLRealmData(java.lang.String srcJaznDataFile,
                         java.lang.String srcRealm,
                         java.lang.String dstJpsContext)
                         throws JpsException
Method to migrate realm in a jazn data xml file (source) to jps identity store (destination)
Parameters:
srcJaznDataFile - the absolute path of the source jazn data file
srcRealm - the source realm name to be migrated.
dstJpsContext - The JPS Context which defines the destination identity store (defined in the jps-config.xml file).
Throws:
JpsException - // TODO to modify it to migrate all realms.

upgradeXMLPolicyData

void upgradeXMLPolicyData(java.lang.String srcJaznDataFile,
                          java.lang.String dstJpsContext)
                          throws JpsException
Method to migrate policies in a jazn data xml file (source) to jps policy store (destination)
Parameters:
srcJaznDataFile - the absolute path of the source jazn data file
dstJpsContext - The JPS Context which defines the destination policy store (defined in the jps-config.xml file).
Throws:
JpsException

upgradeLdapPolicyData

void upgradeLdapPolicyData(java.lang.String jaznConfigFile,
                           java.lang.String dstJpsContext)
                           throws JpsException
Method to migrate policies from an OID configured in a jazn config file (source) to jps policy store (destination)
Parameters:
jaznConfigFile - the absolute path of the jazn.xml file configured for ldap provider
dstJpsContext - The JPS Context which defines the destination policy store (defined in the jps-config.xml file).
Throws:
JpsException

upgradeAppPoliciesDataXml

void upgradeAppPoliciesDataXml(java.lang.String srcJaznDataFile,
                               java.lang.String srcAppName,
                               java.lang.String restypeFile,
                               java.lang.String dstJaznDataFile)
                               throws JpsException
Throws:
JpsException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-03


Copyright © 2010, Oracle. All rights reserved.