public Principal getCallerPrincipal() { EJBContextImpl ctxImpl = (EJBContextImpl) getEJBContext(); return ctxImpl.getCallerPrincipalInternal(); }
/** * Get the Principal for the current caller. This method * cannot return null according to the ejb-spec. */ public Principal getCallerPrincipal() { return getCallerPrincipalInternal(); }