.html#isCallerInRole(java.lang.String)"><code>SecurityContext.isCallerInRole(String)</code></a> etc.
 
 <p>
 Note that this call may result in the container establishing two caller principals to
 represent the caller's identity -- the Principal provided here as the principal parameter,
 and a second principal used as the container's representation of the caller identity.
 A second principal is added only if the container uses a different Principal type to
 represent the caller. If the types are the same, on