I am trying to add JAAS support to my web project. I did add the jboss.xml file to my application as followed:
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?
I got some clue, at the debug level it goves me:
16:03:03,512 DEBUG [UsersRolesLoginModule] Loaded properties, users=
16:03:03,524 DEBUG [UsersRolesLoginModule] Loaded properties, users=
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!