File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes LDAP via JAAS question on JBOSS 5.1.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "LDAP via JAAS question on JBOSS 5.1.0" Watch "LDAP via JAAS question on JBOSS 5.1.0" New topic

LDAP via JAAS question on JBOSS 5.1.0

G Lambert

Joined: May 14, 2009
Posts: 11
Hello all,
We are implementing LDAP and removing the old proprietary login process on one of our apps. The old way had full-featured password reset/expiration functions. For local testing I have OpenDS running and I can login. I have a simple question.

--> During authentication is it possible to detect whether or not a user's p/w is about to expire?

At first glance (3 days into this project now), it only looks as though a red light/green light takes place using the XML configuration using BASIC for the <auth-method>.

Thanks for any help.

EDIT: I see in OpenDS under cn=config there is Account Status Notification Handlers --> Error Log Handler and inside there are the password-expiring and other values. At the moment I don't know how to reach them...
subject: LDAP via JAAS question on JBOSS 5.1.0
jQuery in Action, 3rd edition