Spring web app tutorial 28: User account

How to create a page with user account. How to retrieve currently logged in user name (using Principal object) in Spring Web MVC. Security is done using Spring security.

How to create a page with user account. How to retrieve currently logged in user name (using Principal object) in Spring Web MVC. Security is done using Spring security.