public interface JpsUtilMigrationCredIfc
Modifier and Type | Method and Description |
---|---|
void |
disableSkip()
This method is used for disabling skip option for credential store used within the API.
|
void |
enableSkip()
This method is used for enabling skip option for credential store used within the API.
|
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(CredentialStore srcCredStore, CredentialStore dstCredStore, java.lang.String srcAlias, java.lang.String dstAlias, java.util.Map<java.lang.String,java.lang.Object> options)
Method to migrate all credentials in a given map from 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)
|
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 JpsExceptionvoid migrateCredentialData(CredentialStore srcCredStore, CredentialStore dstCredStore, java.lang.String srcAlias, java.lang.String dstAlias, java.util.Map<java.lang.String,java.lang.Object> options) throws JpsException
srcCredStore
- source credential store objectdstCredStore
- destination ceredential store objectsrcAlias
- source credential map namedestAlias
- destination credential map nameoptions
- map takes all other values like overwrite etc..,JpsException
void enableSkip()
none
-None
void disableSkip()
none
-None