Compares the role in the parameter with the caller in role.
Parameters: role - the role name. true if the caller has the role in the parameter, falseotherwise.
Calls a method in other bean that returns the callerPrincipal. It
compares its caller with the caller returned. The caller for the two
methods must be the same.
true if the bean caller and the bean callee are called by thesame role, false otherwise.