Discussions

EJB design: JAAS and EJB

  1. JAAS and EJB (2 messages)

    Can someone point me at a good description of EJB, including examples of client and server side code.

    I understand how to get a Subject and store it in the client (the HttpSession in my case).

    So in my client I have:

    Subject s = ...;
    MyBean b = myHome.create(); // a SLSB

    What now?

    Do I need to create a PrivilegedAction instance for my method call?

    How do I get the Subject inside my bean implementation code?

    Thanks for any advice.

    Tom

    Threaded Messages (2)

  2. JAAS and EJB[ Go to top ]

    wnt to be able to do it by Design by contract ?

    email me at chaabane at parasoft dot com
  3. JAAS and EJB[ Go to top ]

    ?