wood burning stoves*
The moose likes Security and the fly likes Removing of the JBOSS Catch for Custom Login Module when Roles changes 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 » Engineering » Security
Bookmark "Removing of the JBOSS Catch for Custom Login Module when Roles changes" Watch "Removing of the JBOSS Catch for Custom Login Module when Roles changes" New topic
Author

Removing of the JBOSS Catch for Custom Login Module when Roles changes

Rashmi Umre
Greenhorn

Joined: Jul 20, 2006
Posts: 17
HI,

I have created my cutom login module which connects to DB2 and retrieves the necessary permission for users. Roles and permission are working fine.

But I have one problem, if I am updating the role or adding new role to user, then second time login I am not able to retreive the updated roles for user. Jboss catches the roles when user logged in first, after that I am changing the role to same user it is not reflecting.

Could you tell me how I can clear jboss catched data for the user once He/She logged out throgh servlets.

Thanks,
Rashmi
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9956
    
163

Is this what you are looking for: Caching/Flushing LoginCredentials


[My Blog] [JavaRanch Journal]
Rashmi Umre
Greenhorn

Joined: Jul 20, 2006
Posts: 17
Thanks for your help, It is working after changing the configuration.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Removing of the JBOSS Catch for Custom Login Module when Roles changes
 
Similar Threads
JAAS with JBoss
best practice for authentication and role assignation.
custom security provider (role mapper) called every request
getUserpricipal()
Security role refreshing period in JBOSS.