In addition, custom Realms merely need to create instances of Principal.
There is no requirement for them to extend GenericPrincipal.
Our Realm classes are deployed to server/lib
Our extension to Principal is deployed to common/lib
See the thread "Is custom realm using user/role data in webapp
possible?" from 26th May for more details.
HTH,
Jon
Nicholas Sushkin wrote:
"MyPrincipal cannot be resolve to a type"
when trying the following:
((MyPrincipal)request.getUserPrincipal()).getDisplayName();
Yuri,
Josso implemented their own Principal that has additional properties. You
may want to poke around http://www.josso.org/developer-howto.html
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]