This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
I have edit user option and in that i can edit my password also and can set new password.So in save user i am using both setpassword();and setEncodedPassword();. If user did not change password then it should be setencoded password but in my case it is not exixuting and always it will set new password for the same user when i edit.because resetpassword is always true. please help me to resolve this issue.what wrong in my code please let me know. thanks in advance.