How to override context.getUser()
for a my current project I would like to overide the context.getUser() method to return a custom pojo which extends the default object returned? 

The reason I would like to do is so that I dont have to use the sessionScope technique of saving person specific data and just can call context.getUser() instead (which checks which user is logged on (or anonymous) and retrieves all data needed without.


How to override context.getUser()
===

for a my current project I would like to overide the context.getUser() method to return a custom pojo which extends the default object returned? 

The reason I would like to do is so that I dont have to use the sessionScope technique of saving person specific data and just can call context.getUser() instead (which checks which user is logged on (or anonymous) and retrieves all data needed without.

