tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chema <demablo...@gmail.com>
Subject How does it get the URL forwarded to realm ?
Date Tue, 02 Aug 2011 09:10:47 GMT
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.
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

<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.

But i don't know where to find the original URL

Any solution ?


Thanks and regards

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


Mime
View raw message