Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Security AuthenticationProviders & returning a value

Sebastian Salvo
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

The Security Providers are configured in a Weblogic 7.
Does anyone knows if there is a way to return a value from the login module back to the application when the authentication process fails and a FailedLoginException is thrown?

I have my web.xml configured this way:


Any time the login attempt fails, you get redirected to the errorPage.jsp. But what I want is to get some additional info from the security provider, e.g., an error code to display a different message according to the type of error.

Any help will be appreciated,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic