Hi, how can I get a user's roles in EJB 3.0? thanks!
I'm using in a SLSB:@Resource SessionContext ctx;void aMethod() { String userName = ctx.getCallerPrincipal().getName()}