This is definitely a bug. Thanks for tracking down the root cause. Would you mind filing an issue in Jira for it? https://issues.apache.org/jira/browse/SHIRO
On Sun, Jan 26, 2014 at 5:09 AM, salihrkc <[email protected]> wrote: > I solved the problem. My default locale is TR_tr. When i run the program > without changing the default locale it outputs "false". > but when i run the programming as below it outputs "true" > > public class App { > > public static void main(String[] args) { > PasswordService psd = new DefaultPasswordService(); > String password = "333"; > String enc = psd.encryptPassword(password); > Locale.setDefault(Locale.ENGLISH); > System.out.println(Locale.getDefault()); > System.out.print(psd.passwordsMatch(password, enc)); > > } > } > > > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/Plain-password-and-encrypted-password-doesn-t-match-tp7579552p7579560.html > Sent from the Shiro User mailing list archive at Nabble.com. >
