0 Replies Latest reply on Mar 9, 2011 8:56 AM by spacemojo

    JBoss security client

    spacemojo

      I have a NetBeans platform application that connects to EJB's on a JBoss 6 server. I authenticate users using the SecurityClient provided by JBoss and a custom login module. When I use my code in a simple main or in a unit test for example everything works fine and I can access the caller principal in the EJB code. When the same code is called in the NetBeans application, the caller pricipal ends up being null ..

       

      What is the behavior of the SecurityClient ? How does it work between threads ? How could I use it so that my authentication is valid across all modules of my application ?

       

      Thanks