You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by an...@apache.org on 2019/11/19 15:28:09 UTC
[syncope] branch 2_1_X updated: fixed wrong type for password rule
implementation in core upgrader
This is an automated email from the ASF dual-hosted git repository.
andreapatricelli pushed a commit to branch 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/2_1_X by this push:
new 3003b47 fixed wrong type for password rule implementation in core upgrader
3003b47 is described below
commit 3003b47bbb3b92acb86e5c443ac1b6631c3a1159
Author: Andrea Patricelli <an...@apache.org>
AuthorDate: Tue Nov 19 16:27:58 2019 +0100
fixed wrong type for password rule implementation in core upgrader
---
.../main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/upgrade/src/main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java b/core/upgrade/src/main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java
index 15756f7..2c2c3a4 100644
--- a/core/upgrade/src/main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java
+++ b/core/upgrade/src/main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java
@@ -183,7 +183,7 @@ public final class GenerateUpgradeSQL {
String implementationId = "PasswordRule_" + passwordPolicyId + "_" + id;
OUT.write("INSERT INTO Implementation(id,type,engine,body) VALUES("
+ "'" + implementationId + "',"
- + "'ACCOUNT_RULE',"
+ + "'PASSWORD_RULE',"
+ "'JAVA',"
+ "'" + serializedInstance + "');\n");
OUT.write("INSERT INTO PasswordPolicyRule(policy_id,implementation_id) VALUES("