WebSphere Application Server - Catching CustomRegistryException in error.jsp -- is it possible?

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > August 2007 > Catching CustomRegistryException in error.jsp -- is it possible?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Catching CustomRegistryException in error.jsp -- is it possible?

2007-08-16, 7:21 am

I realized my own Custom User Registry for WebSphere security, and I use FORM authentication method with login and error pages like login.html and error.jsp.
The question is: can I catch exceptions of my Custom User Registry (CustomRegistryException, PasswordCheckFailedException) in my error.jsp page?
Because I want user receive more detalized message about reasons why his authorization failed, not simple "Login/password incorrect"

Tnx
Ken Hygh

2007-08-16, 1:25 pm

tyomasol@list.ru wrote:
> I realized my own Custom User Registry for WebSphere security, and I use FORM authentication method with login and error pages like login.html and error.jsp.
> The question is: can I catch exceptions of my Custom User Registry (CustomRegistryException, PasswordCheckFailedException) in my error.jsp page?
> Because I want user receive more detalized message about reasons why his authorization failed, not simple "Login/password incorrect"
>
> Tnx


You do realize that this decreases the level of security, right? If you
really don't need security, turn it off.

Ken
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com