1 Reply Latest reply on May 2, 2005 3:58 PM by Darko Krizic

    LoginModule -> EntityManager

    Darko Krizic Newbie

      Hi!

      I want to implement my own LoginModule. The LoginModule is

      public class MyLoginModule extends AbstractServerLoginModule

      public boolean login(...)

      To verify the User I would like to access the EntityManager and access my Entitiy Bean "User". But I don't see any way to bridge from the LoginModule to the EntityManager.

      private @Inject EntityManager em

      nor

      private @Inject SessionContext ctx

      work.