wood burning stoves
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "login error cause ?" Watch "login error cause ?" New topic

login error cause ?

Guillaume Patry

Joined: Oct 28, 2005
Posts: 1

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 ?

Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3749

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.

[OCA 8 Book] [Blog]
I agree. Here's the link: http://aspose.com/file-tools
subject: login error cause ?
It's not a secret anymore!