This content has been marked as final.
Show 2 replies
-
1. Re: Getting the subject data inside my web application
juha Dec 20, 2003 12:00 PM (in response to emiliosh)import jboss.security.SecurityAssociation; ... SecurityAssociation.getSubject();
Maybe that works for you..? -
2. Re: Getting the subject data inside my web application
emiliosh Dec 22, 2003 9:57 AM (in response to emiliosh)Thanks, i'm using request.getUserPrincipal().getName() and its works :).
I have another question, i have defined a login form (login.jsp) and an error form (error.jsp). How can i get the LoginException in my error.jsp?
Thanks