See the HttpServletRequest class. (getRemoteUser() or getUserPrincipal())

-Tim

Giselle Dazzi wrote:
Hi everybody,

Im using the <security-constraint> feature of Tomcat. Everything works well, but I dont know how to retrieve the login entered during authentication to use it throughout my application... Have you guys done this before ?

thx

My login page is specified in my web.xml:

<login-config>
<auth-method>FORM</auth-method>
<realm-name>Autenticacao</realm-name>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/errorpage.html</form-error-page>
</form-login-config>
</login-config>




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



Reply via email to