[
https://jira.jboss.org/jira/browse/JBSEAM-3763?page=com.atlassian.jira.pl...
]
Shane Bryzak closed JBSEAM-3763.
--------------------------------
Fix Version/s: 2.1.2.CR1
Resolution: Done
Implemented in SVN - the @UserPassword annotation now has an iterations attribute
(defaults to 1000).
Make it possible to specify iteration count for salt+password
hashing
---------------------------------------------------------------------
Key: JBSEAM-3763
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3763
Project: Seam
Issue Type: Feature Request
Components: Security
Environment: Seam 2.1
Reporter: Nikolay Elenkov
Assignee: Shane Bryzak
Fix For: 2.1.2.CR1
Attachments: main2.patch, seamspace2.patch
The current default implementation of password hashing hashes the salt and password only
one time. Since having a number of iterations when generating the hash value is a
generally accepted security practice (Cf. PKCS#5), it would be nice if one could specify
the iteration count as a parameter to UserPassword.
Suggestion:
Add an 'iterationCount' attribute to the UserPassword annotation.
Example usage:
class User {
@UserPassword(hash="sha1", iterationCount=1000)
String getPasswordHash() {..}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira