Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Get Error messages/Exceptions from Active Directory Server(ADS) with Weblogic 9.2

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

This is my first post in code ranch.

I am using form based JAAS authentication using Weblogic Server 9.2. I have created a custom security realm through which it queries the ADS for successful authentication.

The ADS is maintained by our client with all the Users inside.It has got a feature implemented which locks the user for 5 unsuccessful attempts.
Currently, for authentication failure, it's throwing a FailedLoginException and I can successfully retrieve the exception in my <form-error-page> relogin.html.
But I can't retrieve the exception for when the user is locked.

I need to directly get/read the error message from ADS(LDAP) and show it in my relogin page with some custom message.As of now for the 5th unsuccessful attemp, it's only showing the authentication failure message.

You can refer to the excerpt of web.xml given below.


Please help.


web.xml


 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic