tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: How does it get the URL forwarded to realm ?
Date Tue, 02 Aug 2011 09:28:24 GMT
On 02/08/2011 10:10, Chema wrote:
> Hi:
> 
> I've got Tomcat 7.0.16 and I'm using realm
> authentication/authorization mechanism , via FORM method.
> 
> I'd like to store in user session the URL accessed and forwarded to
> realm authentication.

Tomcat does this automatically.

> An example of URL could be
> 
> http://localhost:8080/myapp/protected/file.properties
> 
> I try to configure my web.xml to invoke a servlet before returns login page.

Why? What problem are you trying to solve?

> <form-login-config>
> 		    <form-login-page>/login</form-login-page>
> 		    <form-error-page>/error</form-error-page>
> </form-login-config>
> 
> Also, I try to configure filters.

Again, what problem are you trying to solve?

> But i don't know where to find the original URL
> 
> Any solution ?

That depends on what the problem is.

Mark

> 
> 
> Thanks and regards
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message