assertFalse("in role contributor", foo.isCallerInRole("contributor"));
assertFalse("in role guest", foo.isCallerInRole("guest"));
assertTrue("not in role public", foo.isCallerInRole("public"));
ctx.close();
assembler.destroy();
}
@Stateless
@DeclareRoles({"committer", "contributor","community","guest","public"})
public static class FooBean implements Project {