File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 19785
    
  20

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: 10289
    
168

See this

[My Blog] [JavaRanch Journal]
Akhil Kashyap
Greenhorn

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

Regards,

Akhil Kashyap.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Security role refreshing period in JBOSS.