This content has been marked as final. Show 2 replies
import jboss.security.SecurityAssociation; ... SecurityAssociation.getSubject();
Maybe that works for you..?
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?