I am working on an application which is using 'j_security_check' for login authentication. User security roles are residing in DB.
Now if any UI user is given a new role it takes a lot of time to reflect (usually more than 20 hours), provided JBoss is not restarted.
I have tried repeated logins, as I was thinking that JBoss checks the security roles from DB on each login, but new role is not being reflected.
So I am wondering where this time period (after which JBoss checks the security roles from DB) is set in JBoss.
Thanks in advance.