public interface JpsUtilMigrationKeyStoreIfc
| Modifier and Type | Method and Description |
|---|---|
void |
migrateKeyStoreData(KeyStoreService srcKeystore, KeyStoreService dstKeystore)
Method to migrate all the keystores from one (source) to another (destination)
|
void |
migrateKeyStoreData(KeyStoreService srcKeystore, KeyStoreService dstKeystore, java.lang.String srcAppStripe, java.lang.String dstAppStripe, java.util.Map<java.lang.String,java.lang.Object> options)
Method to migrate all the keys within a stripe from one (source) to another (destination)
|
void |
migrateKeyStoreData(java.lang.String srcJpsContext, JpsConfiguration srcConfiguration, java.lang.String dstJpsContext, JpsConfiguration dstConfiguration)
Method to migrate all the keystores from one (source) to another (destination)
|
void |
migrateKeyStoreData(java.lang.String srcJpsContext, java.lang.String dstJpsContext)
Method to migrate all the keystores in a keystore (source) to another (destination)
|
void |
migrateStripeScopedKeyStoreData(java.lang.String srcJpsContext, JpsConfiguration srcConfiguration, java.lang.String srcStripeName, java.lang.String dstJpsContext, JpsConfiguration dstConfiguration, java.lang.String dstStripeName)
Method to migrate all the keystores in a given stripe in a keystore service(source) to a given stripe in another keystore (destination)
|
void migrateKeyStoreData(java.lang.String srcJpsContext,
java.lang.String dstJpsContext)
throws JpsException
srcJpsContext - The JPS Context which defines the source key store (defined in the jps-config.xml file).dstJpsContext - The JPS Context which defines the destination key store (defined in the jps-config.xml file).JpsException
void migrateStripeScopedKeyStoreData(java.lang.String srcJpsContext,
JpsConfiguration srcConfiguration,
java.lang.String srcStripeName,
java.lang.String dstJpsContext,
JpsConfiguration dstConfiguration,
java.lang.String dstStripeName)
throws JpsException
srcJpsContext - The JPS Context which defines the source keystore (defined in the jps-config.xml file). Default context is assumed if found null.srcConfiguration -srcStripeName - if null, will try to lookup the source keystore service, if the store contains only one stripe, that name is taken as srcStripeName.dstJpsContext - The JPS Context which defines the destination keystore (defined in the jps-config.xml file). Default context is assumed if found null.dstConfiguration -dstStripeName - if null, will be assigned the resolved value of srcStripeName.JpsException
void migrateKeyStoreData(java.lang.String srcJpsContext,
JpsConfiguration srcConfiguration,
java.lang.String dstJpsContext,
JpsConfiguration dstConfiguration)
throws JpsException
srcJpsContext - The JPS Context which defines the source keystore (defined in the jps-config.xml file).srcConfiguration - The JpsConfiguration object that has the srcJpsContextdstJpsContext - The JPS Context which defines the destination keystore (defined in the jps-config.xml file).dstConfiguration - The JPSConfiguration object that has the dstJpsContextJpsExceptionvoid migrateKeyStoreData(KeyStoreService srcKeystore, KeyStoreService dstKeystore) throws JpsException
srcKeystore - source keystore objectdstKeystore - destination keystore objectJpsException - underlying JpsExceptionvoid migrateKeyStoreData(KeyStoreService srcKeystore, KeyStoreService dstKeystore, java.lang.String srcAppStripe, java.lang.String dstAppStripe, java.util.Map<java.lang.String,java.lang.Object> options) throws JpsException
srcKeystore - source keystore objectdstKeystore - destination keystore objectsrcAppStripe - source application namedstAppStripe - destination application nameoptions - additional migration options, null means no additional option.JpsException - underlying JpsException