Hi,
short version:
https://syncope.apache.org/docs/reference-guide.html#policies-password
talks about Default Password Rule
"The default password rule (enforced by DefaultPasswordRule and
configurable via DefaultPasswordRuleConf) contains the
following controls:"
I created an new "DefaultPasswordPolicy" under Configuration -> Policies
-> Password.
If I click on my new created policy, I can choose between
"edit/clone/rules/delete". I click rules, than "the plus sign":
Problem:
I cannot create a new rule because the combobox is empty (Only Showing
"Choose One".)
Shouldn't there be some predefined rules?
Like
https://github.com/apache/syncope/blob/syncope-2.1.0/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/dao/DefaultPasswordRule.java
How to define some? How to get some?
Long story:
* Postgresql an tomcat installed.
* jdbc Datasource defined, up, running
* openjdk version "1.8.0_171"
* Apache Tomcat/8.5.14 (Debian)
I used the following mvn:
mvn archetype:generate \
-DarchetypeGroupId=org.apache.syncope \
-DarchetypeArtifactId=syncope-archetype \
-DarchetypeRepository=http://repo1.maven.org/maven2 \
-DarchetypeVersion=2.1.0
Created the following directories
$ sudo mkdir /opt/syncope/bundles
$ sudo mkdir /opt/syncope/log
$ sudo mkdir /opt/syncope/conf
After fixing the "junit version missing in the console pom", I build it
using:
mvn clean verify \
-Dconf.directory=/opt/syncope/conf \
-Dbundles.directory=/opt/syncope/bundles \
-Dlog.directory=/opt/syncope/log
cp core/target/classes/*properties /opt/syncope/conf
cp console/target/classes/*properties /opt/syncope/conf
cp enduser/target/classes/*properties /opt/syncope/conf
cp enduser/target/classes/customForm.json /opt/syncope/conf
Then deployed the webapps using:
for I in `find .| grep war$`; do cp $I /opt/syncope/tomcat8/webapps/;
done
This blog shows the configuration combobox (using 2.0.9) which is empty
in my version.
http://blog.tirasa.net/configure-syncope-to-check-for-pwned-passwords.html
( http://blog.tirasa.net/gallery/tirasa/blog/hibp_2.png)
Thanks for your help,
gatherer