1 Reply Latest reply on Jul 1, 2005 7:06 PM by Eric Crowe

    caching of EJBContext in a CustomSecurityProxy

    Torsten Völker Newbie

      My question is how to cache the EJBContext in a CustomSecurityProxy between setEJBContext and invoke? I need some information e.g. the CallerPrincipal for authorization checks in invoke.

      As far as i have seen there is only one SecurityProxy instance per bean class not per bean instance. And so i assume that using a local attribute in the SecurityProxy will cause some trouble in concurrent access situations.

      Thanks in advance