aspose file tools*
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 Spring in Action this week in the Spring 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: 10210
    
166

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.
 
 
subject: Removing of the JBOSS Catch for Custom Login Module when Roles changes