[ 
https://issues.apache.org/jira/browse/JAMES-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Knecht resolved JAMES-1213.
---------------------------------

    Resolution: Fixed

> Don't compare references but values
> -----------------------------------
>
>                 Key: JAMES-1213
>                 URL: https://issues.apache.org/jira/browse/JAMES-1213
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: UsersStore & UsersRepository
>    Affects Versions: 3.0-M3
>         Environment: All
>            Reporter: Felix Knecht
>            Assignee: Felix Knecht
>             Fix For: 3.0-M3
>
>
> JCRUser compares references instead of values for a String property:
>     public boolean verifyPassword(String pass) {
>         final boolean result;
>         if (pass == null) {
>             result = false;
>         } else {
>             result = hashedSaltedPassword == hashPassword(userName, pass);
>         }
>         return result;
>     }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to