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
Register / Login
JavaRanch » Java Forums » Products » Websphere
Reply 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
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3652

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 ?
 
Similar Threads
authenticat user with j_security_check
Get values from a servlet
How to implement User Registry differently for each EAR installed in the same WAS
checking whether user logged in or not
How to login to a machine ?