3 Replies Latest reply on Apr 24, 2006 11:38 AM by j2ee_junkie

    Getting the username after login

    pn_silva

      I have protected a web service using JAAS and DatabaseServerLoginModule. For that it was defined a security domain java:/jaas/seefDomain in the jboss-web.xml, and everything is working well, but now after the authentication i need to make a check about some data that comes in the webservice (big xml file) and for that i need to retrive the username that has authenticated in order to compare with the data from the xml file. I have searched a lot and still couldn't figure how to do this... what am i doing wrong? Can anyone point me directions?