Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wildfly 8.0.2 Final - JAAS - Database login module, force to execute query each time

daniele licitra
Ranch Hand
Posts: 81
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have implemented a Database login module has explained in this post.

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?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic