Skip navigation links

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

E14650-06


oracle.security.jps.tools.utility
Interface JpsUtilUpgradeIfc


public interface JpsUtilUpgradeIfc
Author:
vigarg

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

 

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

upgradeAppPolicies

void upgradeAppPolicies(java.lang.String jpsCtxName,
                        java.lang.String appName)
                        throws JpsException
This method will upgrade policy store by creating resources corresponding to permissions in grants in specified application policies. Resource types are assumed to be already defined in the application policies
Parameters:
jpsCtxName - The JPS Context which defines the destination policy store (defined in the jps-config.xml file).
appName - Application Stripe name
Throws:
JpsException

upgradeAppPolicies

void upgradeAppPolicies(java.lang.String jpsContext)
                        throws JpsException
This method will upgrade policy store by creating resources corresponding to permissions in grants in all application policies configured in the policy store. Resource types are assumed to be already defined in the application policies
Parameters:
jpsCtxName - The JPS Context which defines the destination policy store (defined in the jps-config.xml file).
Throws:
JpsException

upgradeAppPolicies

void upgradeAppPolicies(java.lang.String jpsCtxName,
                        java.io.File resTypeFile)
                        throws JpsException
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.
Parameters:
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.
Throws:
JpsException

Skip navigation links

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

E14650-06


Copyright © 2013 Oracle. All rights reserved.