redirecting to error page from custom auth module

Hi,

I am wondering how to redirect to a custom error page from a custom login

authentication module. Normally you are expected to throw a LoginException

and portal handles the display of default Authentication failed page.

Instead I want to redirect the user to different page(s) based on error

conditions...Cannot find any documented solution to this ...

Thanks in advance...

srini

[438 byte] By [708796] at [2007-11-25 4:32:12]
# 1
Within your validate() method in your custom authentication module, you can do this:HttpServletResponse response = getHttpServletResponse();response.sendRedirect("/some/other/place");
708796 at 2007-6-30 21:19:44 > top of Java-index,Web & Directory Servers,Portal Servers...