Hi all I've implemented a custom HibernateRealm by extending the AuthorizingRealm and things seem to be working pretty good i.e. I'm able to login/logout users and check roles.
Now, on each of my application screens I'd like to print something like Hi <Name>. But my logins are done using unique emails and so, when I try to use the <jsec:principal/> tag the email gets printed. There's no reference to the user name I have here. How should I go about storing a user defined principal object here, as I can see the jsec:principal tag also has attributes to retrieve values from a property of a principal object. In my case this is a string, how should I set it to something else. Kind regards Animesh
