1 Reply Latest reply on Feb 1, 2006 7:29 AM by blalls asdsd

    Authentication failure at deploy time

    blalls asdsd Novice

      I am trying to add JAAS support to my web project. I did add the jboss.xml file to my application as followed:

      <security-domain>java:/jaas/mcipro</security-domain> <missing-method-permissions-excluded-mode>false</missing-method-permissions-excluded-mode>
      <unauthenticated-principal>nobody</unauthenticated-principal>

      but the trying to deploy the project I get:
      14:02:09,313 INFO [Component] Component: personListing, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: com.tarhyar.person.PersonListingAction, JNDI: mcipro/PersonListingAction/local
      14:02:09,413 ERROR [STDERR] javax.ejb.EJBAccessException: Authentication failure

      Could someone please help me to get this problem solved. Is there any other thing I should configure for the JAAS?

        • 1. Re: Authentication failure at deploy time
          blalls asdsd Novice

          I got some clue, at the debug level it goves me:
          16:03:03,512 DEBUG [UsersRolesLoginModule] Loaded properties, users=[200]
          16:03:03,524 DEBUG [UsersRolesLoginModule] Loaded properties, users=[200]
          16:03:03,529 DEBUG [UsersRolesLoginModule] Bad password for username=null
          16:03:03,548 ERROR [STDERR] javax.ejb.EJBAccessException: Authentication failure

          Please please help!