tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: security-constraint question
Date Tue, 04 Nov 2003 22:58:13 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message