I am having the logged user name displayed in my thyme-leaf page and now i would like to save the name in my db together with the filled form
<div sec:authorize="is Authenticated()">
<span sec:authentication="name" class="form-control"> </span> </div>
that how am fetching the logged user from db .....now how can i make the same name saved in any table i want within a form with other fields that are currently being saved,,,,how do i capture the displayed name?