JBoss Community

isCallerInRole(...) returns wrong result

created by i10 in JBoss AS 7 Development - View the full discussion

A query to isCallerInRole("VIP") returns the following results:

 

UserRolesExpected Result
Effective Result
tomCustomerfalsefalse
samCustomer, VIPtruefalse
mikeVIPtruetrue

 

In JBoss 4,5 and 6 the query works fine. With JBoss 7 the result for user sam is false instead of true.

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community