I am using Spring MVC and Spring Security version 3.0.6.RELEASE. What is the easiest way to get the user name in my JSP? Or even just whether or not the user is logged in? I
This works whether user is logged in or not, and works when using Anonymous Authentication:
Later...
Hello ${username}