1 Reply Latest reply on Apr 22, 2008 10:36 PM by Ragav Gomatam

    how to get the current logged-in user?

    Marc Roger Newbie

      Hello!

      I am triyng to get the current logged-in user from my application controller when he logs in.

      I tried to, in the login.jsp, change the action of the form to "${pageContext.request.contextPath}/controller/jaas_security" and then redirect the destinationPage to the j_security_check (saving the user into a private static variable) but it doesn't works.

      Anyone can tell me how to get this user?