4 Replies Latest reply on Jan 6, 2005 10:46 AM by msegvich

    Duke's Bank: EJB security-domain doesn't work, gives Authent

    Steven Ostrowski Newbie

      I tried enabling security for the Duke's Bank application as mentioned in the Getting Started guide.

      When I added the security-domain element for the jboss-web.xml file for the web application, the login does work.

      However, the Getting Started guide also says to add a security-domain element to the jboss.xml file in the EJB package. However, if I add the security-domain element there, I then get an error after logging into the web app:

      SecurityException - Authentication error: principal=null

      on the CustomerBean EJB.

      Why isn't the EJB-level security working? It's the same exact line as the web app security, using the dukesbank security domain.