aspose file tools*
The moose likes BEA/Weblogic and the fly likes Get Error messages/Exceptions from Active Directory Server(ADS) with Weblogic 9.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Get Error messages/Exceptions from Active Directory Server(ADS) with Weblogic 9.2" Watch "Get Error messages/Exceptions from Active Directory Server(ADS) with Weblogic 9.2" New topic
Author

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

Rick Almighty
Greenhorn

Joined: Dec 23, 2011
Posts: 1
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


 
Consider Paul's rocket mass heater.
 
subject: Get Error messages/Exceptions from Active Directory Server(ADS) with Weblogic 9.2