Hi everybody! I've developed my own MyLoginModule class implementing javax.security.auth.spi.LoginModule. Within the MyLoginModule I'm using MyPrincipal class implementing java.security.Principal.
This working fine with my servlet/struts based web application but when I try to get the Principal from HttpServletRequest using theRequest.getUserPrincipal() it return org.jboss.security.SimplePrincipal instance... The question is: what I gonna do to get instance of MyPrincipal from HttpServletRequest? The main idea I wish go keep some additional info in Principal like USER_ID, First & Last names etc. (in other words all user info I keep in database) to avoid looking this info every time I'm procesing HTTPRequest - I'd like to get full user info when user logging in and keep it in session I'll very appreciate for any help or advice Regards, Alex Chesnokov View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887224#3887224 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887224 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
