This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Security role refreshing period in JBOSS. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Security role refreshing period in JBOSS." Watch "Security role refreshing period in JBOSS." New topic
Author

Security role refreshing period in JBOSS.

Akhil Kashyap
Greenhorn

Joined: Feb 12, 2010
Posts: 17
Hi

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.

Regards,

Akhil Kashyap.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19654
    
  18

Moving to JBoss.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9947
    
160

See this

[My Blog] [JavaRanch Journal]
Akhil Kashyap
Greenhorn

Joined: Feb 12, 2010
Posts: 17
Thanks Jaikiran. It solved my problem.

Regards,

Akhil Kashyap.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Security role refreshing period in JBOSS.
 
Similar Threads
Webapp-Security chapter revision notes from HFSJ , may be useful
Removing of the JBOSS Catch for Custom Login Module when Roles changes
Declarative security : mapping user to security roles
What does using JAAS buy me?
Web Applications and JAAS