HashSet expectedRunAsRoles = new HashSet();
expectedRunAsRoles.add("identitySubstitutionCaller");
expectedRunAsRoles.add("extraRunAsRole");
CallerInfo info = new CallerInfo(callerIdentity, runAsIdentity,
expectedCallerRoles, expectedRunAsRoles);
bean.publicMethod(info);
bean.remove();
}
public void testAllAuthMethod() throws Exception
{
log.debug("+++ testAllAuthMethod()");