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.