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?
request.getPrincipal()