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

    Getting the username after login

    Pedro Newbie

      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?