hi, I want to know that Is it possible to get the username from EJB container if I use jaas to login? I only can get the roles from the SessionContext. If it is impossibile, which API can I refer to? Thanks.
ctx.getCallerPrincipal().getName()