Re: Testing a password
Posted by Gabriel Landini on Apr 07, 2010; 8:21am
URL: http://imagej.273.s1.nabble.com/Testing-a-password-tp3688636p3688639.html
On Tue, 6 Apr 2010, Joachim Wesner wrote:
> You cannot compare a string in Java with "==", it will check if it is
> exactly **the same** object, not directly the contents!
And one should be aware that retrieving the password from the class file is
trivial, so it would not be secure at all.
Cheers
G.