Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

login error cause ?

 
Guillaume Patry
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4010
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic