-
1. Re: Not Always taking to Home Page on session timeout
apcac_bond Jan 20, 2005 5:03 AM (in response to apcac_bond)Currently, jaas try to take the user the same page where the user was when the session timed out. I dont know where it remembers the last page accessed.
-
2. Re: Not Always taking to Home Page on session timeout
j2ee_junkie Jun 29, 2006 8:30 AM (in response to apcac_bond)apcac_bond,
There is no way to configure this from your application that I am aware of. You could extend Tomcat's FormAuthenticator. The extension would always return to a url set in an init param of your ServletContext when user successfully authentciates. This is just one idea.
enjoy, cgriffith -
3. Re: Not Always taking to Home Page on session timeout
soshah Jun 29, 2006 8:40 AM (in response to apcac_bond)If you are using the FormAuthenticator you will have to integrate your custom FormAuthenticator to do this.
You will need to extend org.apache.catalina.authenticator.FormAuthenticator and override the
public boolean authenticate(HttpRequest request,
HttpResponse response,
LoginConfig config)
method to redirect you to a URI of your choosing.
You can integrate the custom FormAuthenticator in the authenticator.properties file in catalina.jar
If you are using Basic/Digest I don't think you can do anything there