jaas JCRAuthenticationModule set entity twice
---------------------------------------------
Key: MAGNOLIA-1128
URL: http://jira.magnolia.info/browse/MAGNOLIA-1128
Project: magnolia
Issue Type: Bug
Components: security
Affects Versions: 3.0 RC3
Reporter: Filippo Fratoni
Assigned To: Boris Kraft
The JCRAuthenticationModule commit method set Entity twice.
If as in my case you need
1) Set custom properties
2) Non necessarly extends my custom authentication module
This results in two Entitty within the subject's principal list with different
properties.
My suggestion is to cut setEntity call inside the commit method or better
controlling that an user entity is already present end if not throwing some
exception
Filippo
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------