I'm trying to customize Slide and have the need to implement a custom login/security Realm. I've written a simple Realm that extends RealmBase. In teh getPrincipal() method, I return my own custom class.
However, when I call servletContext's getUserPrincipal() method and try to cast the return value to my custom class, it fails. Does Tomcat intervene and put in its own Principal object? Is this a tomcat bug/restriction or am I doing something wrong? I did notice that while SlideRealm creates a SlideRealmPrincipal object as the return value of getPrincipal() in SlideRealm class, the core Slide code itself doesn't access the information anywhere... Please help as I find myself in a fix --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
