Before starting
Before starting the upgrade process, with 1.2.0-M1 running, perform the following actions either via REST or admin console:
- Create a boolean configuration schema
passwordReset.allowed
- Create a boolean configuration schema
passwordReset.securityQuestion
- Create a notification with
- mail template
requestPasswordReset
- event
[CUSTOM]:[]:[]:[requestPasswordReset]:[SUCCESS]
- user filter
token!=$null
- recipients: flag only
Include users matching About
- mail template
- Create a notification with
- mail template
confirmPasswordReset
- event
[CUSTOM]:[]:[]:[confirmPasswordReset]:[SUCCESS]
- user filter
token!=$null
- recipients: flag only
Include users matching About
- mail template
Source changes
POM
In the root pom.xml
:
- change
parent/version
from1.2.0-M1
to1.2.0
- change
properties/syncope.version
from1.2.0-M1
to1.2.0
Other
Replace the following files with their 1.2.0 counterparts (re-apply any customization previously made).
SYNCOPE-548
- console/src/main/resources/console.properties
- console/src/main/resources/consoleContext.xml
- console/src/test/resources/console.properties
SYNCOPE-550
- core/src/main/resources/userWorkflow.bpmn20.xml
- core/src/test/resources/userWorkflow.bpmn20.xml
- console/src/test/resources/consoleContext.xml
User workflow definition
If not starting with an empty internal storage, please consider importing the first user workflow definition above via admin console.
SYNCOPE-135
- core/src/main/resources/META-INF/orm.xml
- core/src/main/resources/META-INF/orm.xml.oracle
- core/src/main/resources/META-INF/orm.xml.sqlserver
- core/src/main/resources/content.xml
- core/src/main/resources/mail.properties
- core/src/test/resources/content.xml
- core/src/test/resources/mail.properties
- console/src/main/resources/authorizations.xml
Internal storage changes
If not starting with an empty database, the following changes are needed:
SYNCOPE-135
INSERT INTO Entitlement VALUES("SECURITY_QUESTION_LIST", NULL); INSERT INTO Entitlement VALUES("SECURITY_QUESTION_READ", NULL); INSERT INTO Entitlement VALUES("SECURITY_QUESTION_CREATE", NULL); INSERT INTO Entitlement VALUES("SECURITY_QUESTION_UPDATE", NULL); INSERT INTO Entitlement VALUES("SECURITY_QUESTION_DELETE", NULL);