Hi all,

I have a question on how we store Syncope Password Histories. I created a
new user called "alice" in a realm with a password policy that stores a
history of size "4".

select * from SyncopeUser_passwordHistory;
+--------------------------------------+------------------------------------------+
| user_id                              |
passwordHistoryValue                     |
+--------------------------------------+------------------------------------------+
| 5aac820c-3742-4f0a-ac82-0c37426f0ac2 |
8961300B9C3B182CA3FF533652966ADF92E5233E |
+--------------------------------------+------------------------------------------+

So "1" entry stored in this table as expected. However, when I change the
password I see a duplicate entry in the table (of the original password):

mysql> select * from SyncopeUser_passwordHistory;
+--------------------------------------+------------------------------------------+
| user_id                              |
passwordHistoryValue                     |
+--------------------------------------+------------------------------------------+
| 5aac820c-3742-4f0a-ac82-0c37426f0ac2 |
8961300B9C3B182CA3FF533652966ADF92E5233E |
| 5aac820c-3742-4f0a-ac82-0c37426f0ac2 |
8961300B9C3B182CA3FF533652966ADF92E5233E |
| 5aac820c-3742-4f0a-ac82-0c37426f0ac2 |
2AA60A8FF7FCD473D321E0146AFD9E26DF395147 |
+--------------------------------------+------------------------------------------+

Wondering why this is? This is with Syncope 2.0.0-SNAPSHOT.

Colm.

-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to