| 
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JpsUtilMigrationCredIfc
This interface exposes required API's for migration of credential data.
| Method Summary | |
|---|---|
 void | 
migrateAliasScopedCredentialData(java.lang.String srcJpsContext, JpsConfiguration srcConfiguration, java.lang.String srcAliasName, java.lang.String dstJpsContext, JpsConfiguration dstConfiguration, java.lang.String dstAliasName)Method to migrate all the credentials in a given alias in a credential store(source) to a given alias in another credential store (destination)  | 
 void | 
migrateAliasScopedCredentialData(java.lang.String srcJpsContext, JpsConfiguration srcConfiguration, java.lang.String srcAliasName, java.lang.String dstJpsContext, JpsConfiguration dstConfiguration, java.lang.String dstAliasName, boolean overwrite)Method to migrate all the credentials in a given alias in a credential store(source) to a given alias in another credential store (destination)  | 
 void | 
migrateCredentialData(CredentialStore srcCredStore, CredentialStore dstCredStore)Method to migrate all the credentials in a credential store(source) to another (destination)  | 
 void | 
migrateCredentialData(java.lang.String srcJpsContext, JpsConfiguration srcConfiguration, java.lang.String dstJpsContext, JpsConfiguration dstConfiguration)Method to migrate all the credentials in a credential store(source) to another (destination)  | 
 void | 
migrateCredentialData(java.lang.String srcJpsContext, java.lang.String dstJpsContext)Method to migrate all the credentials in a credential store(source) to another (destination)  | 
 void | 
migrateCredentialData(java.lang.String srcJpsContext, java.lang.String dstJpsContext, boolean overwrite)Method to migrate all the credentials in a credential store(source) to another (destination)  | 
| Method Detail | 
|---|
void migrateCredentialData(java.lang.String srcJpsContext,
                           java.lang.String dstJpsContext)
                           throws JpsException
srcJpsContext - The JPS Context which defines the source credential store (defined in the jps-config.xml file).dstJpsContext - The JPS Context which defines the destination credential store (defined in the jps-config.xml file).JpsException
void migrateCredentialData(java.lang.String srcJpsContext,
                           java.lang.String dstJpsContext,
                           boolean overwrite)
                           throws JpsException
srcJpsContext - The JPS Context which defines the source credential store (defined in the jps-config.xml file).dstJpsContext - The JPS Context which defines the destination credential store (defined in the jps-config.xml file).overwrite - updates the credentials in the destination store with new values if trueJpsException
void migrateAliasScopedCredentialData(java.lang.String srcJpsContext,
                                      JpsConfiguration srcConfiguration,
                                      java.lang.String srcAliasName,
                                      java.lang.String dstJpsContext,
                                      JpsConfiguration dstConfiguration,
                                      java.lang.String dstAliasName)
                                      throws JpsException,
                                             CredentialNotFoundException
srcJpsContext - The JPS Context which defines the source credential store (defined in the jps-config.xml file). Default context is assumed if found null.srcConfiguration -srcAliasName - if null, will try to lookup the source credential store, if the credential contains only one map/alias, that name is taken as srcaliasName.dstJpsContext - The JPS Context which defines the destination credential store (defined in the jps-config.xml file). Default context is assumed if found null.dstConfiguration -dstAliasName - if null, will be assigned the resolved value of srcAliasName.CredentialNotFoundException - if the srcAliasName specified is not found in the source credential storeJpsException
void migrateAliasScopedCredentialData(java.lang.String srcJpsContext,
                                      JpsConfiguration srcConfiguration,
                                      java.lang.String srcAliasName,
                                      java.lang.String dstJpsContext,
                                      JpsConfiguration dstConfiguration,
                                      java.lang.String dstAliasName,
                                      boolean overwrite)
                                      throws JpsException,
                                             CredentialNotFoundException
srcJpsContext - The JPS Context which defines the source credential store (defined in the jps-config.xml file). Default context is assumed if found null.srcConfiguration -srcAliasName - if null, will try to lookup the source credential store, if the credential contains only one map/alias, that name is taken as srcaliasName.dstJpsContext - The JPS Context which defines the destination credential store (defined in the jps-config.xml file). Default context is assumed if found null.dstConfiguration -dstAliasName - if null, will be assigned the resolved value of srcAliasName.overwrite - updates the credentials in the destination store with new values if trueCredentialNotFoundException - if the srcAliasName specified is not found in the source credential storeJpsException
void migrateCredentialData(java.lang.String srcJpsContext,
                           JpsConfiguration srcConfiguration,
                           java.lang.String dstJpsContext,
                           JpsConfiguration dstConfiguration)
                           throws JpsException
srcJpsContext - The JPS Context which defines the source credential store (defined in the jps-config.xml file).srcConfiguration - The JpsConfiguration object that has the srcJpsContextdstJpsContext - The JPS Context which defines the destination credential store (defined in the jps-config.xml file).dstConfiguration - The JPSConfiguration object that has the dstJpsContextJpsException
void migrateCredentialData(CredentialStore srcCredStore,
                           CredentialStore dstCredStore)
                           throws JpsException
srcCredStore - source credential store objectdstCredStore - destination ceredential store objectJpsException - underlying JpsException
  | 
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||