-
1. Re: Custom credential object and cache
anil.saldhana Oct 26, 2007 12:54 PM (in response to piotr.koper)Ensure that the credential object has "equals" and "hashCode" methods overriden such that you get object equality.
-
2. Re: Custom credential object and cache
piotr.koper Oct 26, 2007 1:33 PM (in response to piotr.koper)When i was writing this post - there was no overridings for equals and hashCode methods. Now they are and for me - it works. Thanks. But unfortunately there is new problem. My co-worker must login in with j_security_check servlet. There credential is password only.
So - I created cache specific for my login module. Now it works exactly as I expected.
Many thanks for answer.
piotr.koper -
3. Re: Custom credential object and cache
filip.majernik Jun 18, 2008 10:43 AM (in response to piotr.koper)Hi Piotr,
I think I have a similar problem as your co-worker. I am using a j_security_check with a custom LoginModule that tries to connect to an Oracle database with the username and password provided. The thing is, that I am not able to access the password in a plaintext, which I need if I want to try to connect to the database.
Any suggestions? And if it has nothing to do with this thread, then I'm sorry :)
thanks
Filip