Register / Login
Win a copy of
Murach's Python Programming
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
EJB and other Java EE Technologies
Wildfly 8.0.2 Final - JAAS - Database login module, force to execute query each time
posted 2 years ago
I have implemented a Database login module has explained in this
The problem is:
for each pair of username-password, the database module is called only for the first time.
Suppose i sign in the application, then log out. I change the username in the database and i try again the login.
I can login successful with the old username.
I think the problem is that the server is caching the credentials and, i it find the pair, then log in, else, call method in Database Login Module.
How can i force JAAS to execute query each time?
Glassfish 3.1->4, Wildfly, Primefaces 3.4->4
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
how to jaas question ?
question on jaas
question of WildFly DIGEST login-config with Database login module
Force web app request/user through JAAS login (Bug in cache and timeout?)