I would like to provide an anonymous access to EJB3 Session Bean. So that independently of other beans (secure they or not) I could access my bean simply with:
InitialContext ctx = new InitialContext(props);
MyBean myBean = (MyBean) ctx.lookup("MyBean");
without any LoginContext and security handlers. Is it possible?
I imagine that should lead to callee principal equals null or equals some specially prepared principal with login/pass/role.