posted 15 years ago
Sure you can. I have done this with a request wrapper and a filter for times when I want to make my web application handle the login and role assignment.
Here I override the getUserPrincipal and isUserInRole
and then in the filter,
This is handy when wanting to have the application work in different container environments,
Error: Keyboard not attached. Press F1 to continue.