I have setup my web app so that is does a container managed, jdbcrealm authentication.
Using this method, how can I retrieve my username after I get authenticated by jboss/tomcat?
thanks.
request.getUserPrincipal().getName() returns the name of the authenticated user.