File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes login error cause ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "login error cause ?" Watch "login error cause ?" New topic
Author

login error cause ?

Guillaume Patry
Greenhorn

Joined: Oct 28, 2005
Posts: 1
HI

i'm currently maintaining a small web-app running on Websphere.

We got a form-based login that is working, using a Custom user registry to check informations on user from a LDAP and a SAP system.

My problem : depending on the reason for logon failure, we would like to get a different error message. The customUserRegistry errors contains the textual infos i need, but i can't seem to be able to get the error causing the failure in the login_error.jsp page.

Is there a way to get the login failure cause ?

Regards,
Guillaume
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3716
    
    5

I'd like to help but you need to go into more specifics of your problem. What kind of web application are you running? Why can't you use a try/catch block in the JSP page to read the error then re-write your own output to the user. Not the best solution, but again it depends on your setup and system.


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: login error cause ?