Register / Login
EJB and other Java EE Technologies
Wildfly 8.0.2 Final - JAAS - Database login module, force to execute query each time
posted 1 year 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
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?)