Before starting
Before starting the upgrade process, with 2.0.2 running, perform the following actions either via REST or Admin Console:
- Create a String multi-value configuration parameter named
authentication.attributes
with value'username'
- Create a Long configuration parameter named
jwt.lifetime.minutes
with value '120
' - Edit the notification template with name
requestPasswordReset
(both in TEXT and HTML formats) and ensure that all the embedded links are updated fromhttp://localhost:9080/syncope-enduser/app/#/confirmpasswordreset?token=${input.get(0).replaceAll(' ', '%20')}
tohttp://localhost:9080/syncope-enduser/app/#!/confirmpasswordreset?token=${input.get(0).replaceAll(' ', '%20')}
Moreover, execute the SQL query below on your internal storage:
UPDATE ReportletConfInstance SET serializedInstance='{"@class":"org.apache.syncope.common.lib.report.ReconciliationReportletConf","name":"dashboardReconciliationReportlet","userMatchingCond":null,"groupMatchingCond":null,"anyObjectMatchingCond":null,"features":["key","username","groupName"]}' WHERE id='d6c2b475-4860-4eb1-8fde-618299c2a97c';
After completing
After completing the upgrade process, with 2.0.3 running, perform the following actions either via REST or Admin Console:
- Create Custom Task with
- name
Access Token Cleanup Task
- class
org.apache.syncope.core.provisioning.java.job.ExpiredAccessTokenCleanup
- cron expression '
0 0/5 * * * ?
'
- name
Source changes
POM
In the root pom.xml
:
change
parent/version
from2.0.2
to2.0.3
change
properties/syncope.version
from2.0.2
to2.0.3
core/pom.xml
- copy the whole
<parent>
element - download the updated file
- replace, in the downloaded file, the
<parent>
element with the one saved in the first step - move the downloaded file to
core/pom.xml
console/pom.xml
- copy the whole
<parent>
element - download the updated file
- replace, in the downloaded file, the
<parent>
element with the one saved in the first step - move the downloaded file to
console/pom.xml
enduser/pom.xml
- copy the whole
<parent>
element - download the updated file
- replace, in the downloaded file, the
<parent>
element with the one saved in the first step - move the downloaded file to
enduser/pom.xml
Other
Replace the following files with their 2.0.3 counterparts (re-apply any customization previously made):
- core/src/main/resources/security.properties
- core/src/main/resources/log4j2.xml
- all files under enduser/src/main/webapp/app/
Add the following files: