|
Oracle Fusion Middleware Management Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JpsUtilMigrationPolicyIfc
Interface which will be used for migration of policy related data
Method Summary | |
---|---|
void |
migrateAllPolicyData(PolicyStore srcPs, PolicyStore dstPs, IdentityStoreService assoIDs) This method migrates all Global policies, from a policy store (source) to a another policy store (destination). |
void |
migrateAllPolicyData(java.lang.String srcJpsCtxName, JpsConfiguration srcConfiguration, java.lang.String dstJpsCtxName, JpsConfiguration dstConfiguration) This method migrates all the policies, from a policy store (source) to a another policy store (destination). |
void |
migrateAllPolicyData(java.lang.String srcJpsCtxName, JpsConfiguration srcConfiguration, java.lang.String dstJpsCtxName, JpsConfiguration dstConfiguration, java.lang.String dstAssoIdStoreCtxName, JpsConfiguration dstAssoIdStoreConfig) This method migrates all the Global policies, from a policy store (source) to a another policy store (destination). |
void |
migrateAllPolicyData(java.lang.String srcJpsCtxName, java.lang.String dstJpsCtxName) This method migrates all the policies (Application as well as global), from a policy store (source) to another (destination). |
void |
migrateAppPolicyData(java.lang.String srcJpsCtxName, java.lang.String dstJpsCtxName, java.lang.String appName) This method migrates all the policies defined for a given application, from a policy store (source) to another policy store (destination). |
void |
migrateAppPolicyData(java.lang.String srcJpsCtxName, java.lang.String dstJpsCtxName, java.lang.String appName, boolean overwrite) This method migrates all the policies defined for a given application, from a policy store (source) to another policy store (destination). |
void |
migrateAppPolicyData(java.lang.String srcJpsCtxName, java.lang.String srcAppName, java.lang.String dstJpsCtxName, java.lang.String dstAppName) This method migrates all the policies defined for a given application, from a policy store (source) to another policy store (destination). |
void |
migrateAppPolicyData(java.lang.String srcJpsCtxName, java.lang.String srcAppName, java.lang.String dstJpsCtxName, java.lang.String dstAppName, boolean overwrite) This method migrates all the policies defined for a given application, from a policy store (source) to another policy store (destination). |
void |
migrateAppPolicyData(java.lang.String srcJpsCtxName, java.lang.String srcAppName, java.lang.String dstJpsCtxName, java.lang.String dstAppName, boolean procPrivRole, java.lang.String resFile, boolean overwrite) This method migrates all the policies defined for a given application, from a policy store (source) to another policy store (destination). |
void |
migrateGlobalPolicyData(java.lang.String srcJpsCtxName, java.lang.String dstJpsCtxName) This method migrates all the Global policies, from a policy store (source) to a another policy store (destination). |
void |
migrateJava2PolicyData(java.io.File srcJava2PolicyFile, java.lang.String dstJpsCtxName) This method migrates all the policies , from a java2 policy file (source) to a JPS policy store (destination). |
void |
setConfigParameter(java.util.Map<java.lang.String,java.lang.String> params) This api can be used to set the config parameters to be used during migration. |
Method Detail |
---|
void migrateAppPolicyData(java.lang.String srcJpsCtxName, java.lang.String dstJpsCtxName, java.lang.String appName) throws JpsException
srcJpsCtxName
- The JPS Context which defines the source Policy Store (defined in the jps-config.xml file).dstJpsCtxName
- The JPS Context which defines the destination Policy Store (defined in the jps-config.xml file).appName
- Name(ID) of the application whose policies are being migrated.JpsException
void migrateAppPolicyData(java.lang.String srcJpsCtxName, java.lang.String dstJpsCtxName, java.lang.String appName, boolean overwrite) throws JpsException
srcJpsCtxName
- The JPS Context which defines the source Policy Store (defined in the jps-config.xml file).dstJpsCtxName
- The JPS Context which defines the destination Policy Store (defined in the jps-config.xml file).appName
- Name(ID) of the application whose policies are being migrated.overwrite
- deletes the existing policies for the given application in destination store while migration.JpsException
void migrateAppPolicyData(java.lang.String srcJpsCtxName, java.lang.String srcAppName, java.lang.String dstJpsCtxName, java.lang.String dstAppName) throws JpsException
srcJpsCtxName
- The JPS Context which defines the source Policy Store (defined in the jps-config.xml file).srcAppName
- Name(ID) of the source application whose policies are being migrated.dstJpsCtxName
- The JPS Context which defines the destination Policy Store (defined in the jps-config.xml file).dstAppName
- Name(ID) of the destination application.JpsException
void migrateAppPolicyData(java.lang.String srcJpsCtxName, java.lang.String srcAppName, java.lang.String dstJpsCtxName, java.lang.String dstAppName, boolean overwrite) throws JpsException
srcJpsCtxName
- The JPS Context which defines the source Policy Store (defined in the jps-config.xml file).srcAppName
- Name(ID) of the source application whose policies are being migrated.dstJpsCtxName
- The JPS Context which defines the destination Policy Store (defined in the jps-config.xml file).dstAppName
- Name(ID) of the destination application.overwrite
- deletes the existing policies for the given application in destination store while migration.migrateOnlyAppPolicy
- If true then migrate only application policy to destination policy store like system-jazn-data.xml/LDAP If false then migrate both Identity Store Artifacts and Application Artifacts to destination policy store like system-jazn-data.xml/LDAPJpsException
void migrateAppPolicyData(java.lang.String srcJpsCtxName, java.lang.String srcAppName, java.lang.String dstJpsCtxName, java.lang.String dstAppName, boolean procPrivRole, java.lang.String resFile, boolean overwrite) throws JpsException
srcJpsCtxName
- The JPS Context which defines the source Policy Store (defined in the jps-config.xml file).srcAppName
- Name(ID) of the source application whose policies are being migrated.dstJpsCtxName
- The JPS Context which defines the destination Policy Store (defined in the jps-config.xml file).dstAppName
- Name(ID) of the destination application. If dstAppName is null, dstAppName is considered same as srcAppNameprocPrivRole
- Boolean value that indicated whether or not to process privilege rolesresFile
- Absolute path of resourceType definition file. ResourceTypes for the application are read from this file and created into destination store. If resFile is null, JpsException is thrown.overwrite
- Boolean value that indicates if existing policies in the destination policy store need to be overwritten.JpsException
- This exception is thrown when an error occurs or when the required information like resFile is not provided.void migrateGlobalPolicyData(java.lang.String srcJpsCtxName, java.lang.String dstJpsCtxName) throws JpsException
srcJpsCtxName
- The JPS Context which defines the source Policy Store (defined in the jps-config.xml file).dstJpsCtxName
- The JPS Context which defines the destination Policy Store (defined in the jps-config.xml file).JpsException
void migrateAllPolicyData(java.lang.String srcJpsCtxName, java.lang.String dstJpsCtxName) throws JpsException
srcJpsCtxName
- The JPS Context which defines the source Policy Store (defined in the jps-config.xml file).dstJpsCtxName
- The JPS Context which defines the destination Policy Store (defined in the jps-config.xml file).JpsException
void migrateAllPolicyData(java.lang.String srcJpsCtxName, JpsConfiguration srcConfiguration, java.lang.String dstJpsCtxName, JpsConfiguration dstConfiguration) throws JpsException
srcJpsCtxName
- The JPS Context which defines the source Policy Store (defined in the jps-config.xml file).srcConfiguration
- Source JPS configuartiondstJpsCtxName
- The JPS Context which defines the destination Policy Store (defined in the jps-config.xml file).dstConfiguration
- Destination JPS configurationJpsException
void migrateAllPolicyData(java.lang.String srcJpsCtxName, JpsConfiguration srcConfiguration, java.lang.String dstJpsCtxName, JpsConfiguration dstConfiguration, java.lang.String dstAssoIdStoreCtxName, JpsConfiguration dstAssoIdStoreConfig) throws JpsException
srcJpsCtxName
- The JPS Context which defines the source Policy Store (defined in the jps-config.xml file).srcConfiguration
- Source JPS configuartiondstJpsCtxName
- The JPS Context which defines the destination Policy Store (defined in the jps-config.xml file).dstConfiguration
- Destination JPS configurationdstAssoIdStoreCtxName
- JPS configuration context identifier where the identity store associated with the policy store is configured.dstAssoIdStoreConfig
- JPS configuration object that contains the configuration of the identity store associated with the policy store.JpsException
void migrateJava2PolicyData(java.io.File srcJava2PolicyFile, java.lang.String dstJpsCtxName) throws JpsException
srcJava2PolicyFile
- source java2 policy filedstJpsCtxName
- The JPS Context which defines the destination Policy Store (defined in the jps-config.xml file).JpsException
void migrateAllPolicyData(PolicyStore srcPs, PolicyStore dstPs, IdentityStoreService assoIDs) throws JpsException
srcPs
- Source policy store objectdstPs
- Destination policy store objectassoIDs
- identity store associated with the destination policy store.JpsException
- underlying JpsExceptionvoid setConfigParameter(java.util.Map<java.lang.String,java.lang.String> params)
params
- - config params to be used during migration
|
Oracle Fusion Middleware Management Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |