HashSet expectedRunAsRoles = new HashSet();
expectedRunAsRoles.add("identitySubstitutionCaller");
expectedRunAsRoles.add("extraRunAsRole");
CallerInfo info = new CallerInfo(callerIdentity, runAsIdentity,
expectedCallerRoles, expectedRunAsRoles);
bean.unprotectedEjbMethod(info);
bean.remove();
}
public void testUnprotectedEjbMethodViaServlet() throws Exception
{