vaadin spring securitry jsp

Presently we are using spring security client side and jsp page for login we are not storing user name and password in database it is independent of database,but my requrement is How to get user name from jsp page ?so that i can display login user name in home page of our application thanks in advance

you can use SecurityContextHolder.getContext().getAuthentication()

Thanks for quick replay -_-