Hi all! I use Jboss 4.05 and EJB 3.0 and use DatabaseServerLoginModule. I were created two tables "Users" and "UserInRoles". In my tables, have two user
user1 has two roles: Manager and Physician
user2 has one role: Physican
Manager has two permissions (methods): write and read
Physican has one permission (method): read
javax.ejb.EJBAccessException: Authorization failure
Caused by: java.lang.SecurityException: Insufficient permissions, principal=user1, requiredRoles=[Physician], principalRoles=[Manager,Physician]
Retrieving data ...