This content has been marked as final.
Show 4 replies
-
1. Re: Secuirty Exception after password update using DataBaseL
pordeep Jun 27, 2006 6:58 AM (in response to uji)Hai, We are also facing the same problem. Our problem is we are spawning threads (which access ejb methods!). After spawning the thread we are changing the password. After that when the thread accesses the Bean methods Security exception is thrown. Please let us know if you find a solution for this.
-
2. Re: Secuirty Exception after password update using DataBaseL
uji Jun 27, 2006 7:03 AM (in response to uji)no solution found: we invalidate the session and force the user to login again
-
3. Re: Secuirty Exception after password update using DataBaseL
pordeep Jun 27, 2006 8:33 AM (in response to uji)Actually we are also invalidating the session and forcing the user to logout. But in our case we need to restart the server also apart from the client.
-
4. Re: Secuirty Exception after password update using DataBaseL
pordeep Jun 30, 2006 8:30 AM (in response to uji)We found a solution. Actually after updating the password you need to logout using the LoginContext of that user and login again.
eg., LoginContext.logout () and LoginContext.login ().
Hope this helps