0 Replies Latest reply on Feb 15, 2008 1:54 PM by Lakshmi Narayanan

    Issue with request.getUserPrincipal()

    Lakshmi Narayanan Newbie


      I am developing an web application with JAAS, Spring and JPA.
      I will be validating the authentication of services by using following methods.

      1. request.getUserPrincipal()
      2. request.isUserInRole().

      Both are working fine for sometime (apprx 1 min). After that both of them are returning NULL. ie. The request is losing the credentials.

      Please help me to fix this issue.

      Lakshmi Narayanan.