I'm also interested in how to get that principal info and maybe how to 
overwrite or add methods.


 -------------- Original message ----------------------
From: Gia Thornton <[EMAIL PROTECTED]>
> Hi,
>    I am using Form-based tomcat security.  I use a servlet to find login 
> information such as the principal name, all the role names for this 
> principal.  
> I can use request.getUserPrincipal() from
> javax.servlet.http.HttpServletRequest.  Is there anyway I can use 
> GenericPrincipal class from package org.apache.catalina.realm of Tomcat in 
> servlet?  Thank you for your help.
>  
>  
> regards,
> 
> 
> 
>               
> ---------------------------------
> Yahoo! Mail Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to