Hi, I have make my own Principal class name MyPrincipal that extends from java.scurity.Principal I make my own Realm and i can log with it. But when i get the Principal object whith the request.getUserPrincipal() method i cant cast this object in (MyPrincipal). I get a classCastException when i try to to this (MyPrincipal)request.getUserPrincipal(). But the most strange is that i get a MyPrincipal response when i try a request.getUserPrincipal().getclass().getName().
Have some idea why i can't make a cast on it ? Does it come from the diference of classLoader between the JSP environement and the Server environement ? Thanks in advance for your help Nicolas PERIDONT -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
