2 Replies Latest reply on Sep 19, 2003 12:15 AM by icanoop

    EJBLoginModule

    icanoop

      I couldn't get the RunAsLoginModule to do anything useful, so I wrote this EJBLoginModule that lets you store your password and role info in an entity bean. The code assumes an EJB called UserEJB that has getPassword() and getRoles() methods on the local interface. I hope someone else finds this useful.

      http://hoot.tigris.org/source/browse/hoot/willy/Project/source/org/bitwiser/hoot/security/EJBLoginModule.java

        • 1. Re: EJBLoginModule
          glum

          Thanks a lot ! That is exactly what I wanted to achieve last two months without any success. I am still unclear what is wrong with my code but that does not matter anyway. Once again, thanks a lot !

          • 2. Re: EJBLoginModule
            icanoop

            You're very welcome, I'm always happy to help others. And if you end up improving the login module please do let me know, so I can use the improvements. I plan to use it for my software development project.