Changing FORM Authentication page
Is there some way to personalise the form authentication page of a context by passing a parameter? I want to change an image of the login page depending on the origin (static) page of the user. Is this possible? Thanks, Ricardo.
FORM based authentication referer
Here's some starting context for my question I have a war file that has been configured to use FORM based authentication. I have set the form-login-page in the web.xml of the war file to point to a jsp file in my war file. When a user invokes any jsp without being logged in the login jsp is displayed. The user enters the userid/password submits the page to j_security_check, is validated and redirected to the requested page. My question is ... Has anyone ever tried discovering the page that the user is trying to access from within the jsp page referenced as the form-login-page? I have tried checking the HTTP headers and session, but have not discovered it being saved anywhere. Usually when a page invokes another page the HTTP header REFERER exists with the URL to the previous page. I have noticed that once the user posts the login form on my login.jsp to j_security_check and is authenticated they are redirect to the correct location .. correct location being back to the page they wanted to access originally. This would mean that it has to be somewhere, but where??
FORM based authentication pages
I have setup Tomcat 4.1 to use FORM based auth, but I've found myself replicating login and error pages in every context I want to protect. The problem is that the path that point to the pages in the login-config tag in the web.xml file of the context is relative to the context. login-config auth-methodFORM/auth-method realm-nameForm-Based Authentication Area/realm-name form-login-config form-login-page/auth/login.html/form-login-page form-error-page/auth/error.html/form-error-page /form-login-config /login-config Is there a way to put those two pages in a location that is accessible by any context? If there is, how do I setup my web.xml file? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Setting up Tomcat
You can try with the reloadable=true attribute of the Context configuration. Context ... reloadable=true -Mensaje original- De: S.Gokul [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 12 de noviembre de 2003 12:02 Para: Tomcat Users List Asunto: Setting up Tomcat Hi, I have been using TOMCAT 4.1 version . Is there any way by which we can instruct tomcat to automatically update the Java Beans when i recompile them. For now i have to restart tomcat to make the changes effective. Kindly help, Regards, S.Gokul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk ans Unixware 7
Has someone achieved tge compilation of mod_jk under Unixware 7? I've received so many errors, I've not the courage to get into the work of fixing them.