Class UpgradeTask114
java.lang.Object
com.atlassian.crowd.upgrade.tasks.UpgradeTask114
- All Implemented Interfaces:
UpgradeTask
This upgrade task will migrate all current Applications
configured in Crowd from using DES to using the Atlassian SHA1
encryption algorithm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
decryptCredential
(String encryptedCredential) void
Perform the upgrade.int
Any errors that occur during the upgrade process will be added to this Collection as Strings.A short (less than 50 chars) description of the upgrade actionvoid
setApplicationManager
(ApplicationManager applicationManager) void
setPropertyManager
(PropertyManager propertyManager)
-
Constructor Details
-
UpgradeTask114
public UpgradeTask114()
-
-
Method Details
-
getBuildNumber
public int getBuildNumber()- Specified by:
getBuildNumber
in interfaceUpgradeTask
- Returns:
- The build number that this upgrade is applicable to.
-
getShortDescription
Description copied from interface:UpgradeTask
A short (less than 50 chars) description of the upgrade action- Specified by:
getShortDescription
in interfaceUpgradeTask
- Returns:
- description of upgrade task.
-
doUpgrade
Description copied from interface:UpgradeTask
Perform the upgrade.- Specified by:
doUpgrade
in interfaceUpgradeTask
- Throws:
Exception
- is thrown if any errors occur during the upgrade process.
-
decryptCredential
protected String decryptCredential(String encryptedCredential) throws PropertyManagerException, IOException, GeneralSecurityException -
getErrors
Description copied from interface:UpgradeTask
Any errors that occur during the upgrade process will be added to this Collection as Strings.- Specified by:
getErrors
in interfaceUpgradeTask
- Returns:
- a Collection<String> of errors. This may return an empty Collection.
-
setApplicationManager
-
setPropertyManager
-