• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Detecting error reasons in form login

 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is it possible to detect the actual error reason in form based loging?

For example, user does not exist, password mismatch...

Now before someone says well you wouldn't want to be telling the user why they failed would you? this is just for some logging etc.

Cheers
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34074
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Luke,
What tool is doing login on your behalf? If you were doing it yourself, you would definitely know. If your app server or a single sign in tool is doing login, it would depend on the tool.
 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Luke,
What tool is doing login on your behalf? If you were doing it yourself, you would definitely know. If your app server or a single sign in tool is doing login, it would depend on the tool.


I am using websphere.

Basically, I would like to know some more information. For example the HTTP status code is it 401, 402, 403 etc.?

many thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic