Re: MyPrincipal cannot be resolved to a type

2006-06-29 Thread Yuri de Wit
Yes, in the spirit of "dont reinvent the wheel" I was trying to leverage as much as possible from the catalina BaseRealm, but that implementation requires GenericPrincipal to get the list of roles associated with the principal. Thanks for the pointer. Any issues moving all the jar from server/li

MyPrincipal cannot be resolved to a type

2006-06-28 Thread Yuri de Wit
I have created my own Realm implementation that returns a custom Principal extending GenericPrincipal (it must extend it). The reason I did that was to be able to provide additional information about the principal such as the user display ame and possibly other data in the future. The Realm imple

"MyPrincipal cannot be resolved to a type"

2006-06-28 Thread Yuri de Wit
I have created my own Realm implementation that returns a custom Principal extending GenericPrincipal (it must extend it). The reason I did that was to be able to provide additional information about the principal such as the user display ame and possibly other data in the future. The Realm imple

ClassCastException when forwarding wrapped HttpServletRequest

2006-05-08 Thread Yuri de Wit
I am not sure I should have posted this question to the dev mailing list, let me know if that should be the case. I am using Tomcat 5.5.16. I have a series of chained HttpServlets in my web app. The first servlet is registered with the web.xml and the following ones are dispatched manually. Befo