We are using Jboss at work. I had a question regarding the DatabaseServerLoginModule.
I have a database and the tables with the username and password information. I am trying to provide a simple login functionality based on this JAAS based module.
I have a problem where if I try and delete some row from the database and use the form to login the deleted user the authentication goes through, which indicates to me that Jboss does some caching of the information on this table which is causing the problem.
If I restart Jboss the user is deleted and authentication works fine and everything goes throught. I want to find a way where I can refresh the cache or do some other method call.
Any help will be appreciated greatly.
Yes there is an authentication cache. See the JaasSecurityManagerMbean for the flush() operation.