Hi Guys, I am implementing JAAS for the user authentication, and I have implemented it using LoginContext.login() implementation . I am wondering if there is any way to change password of the user using JAAS or should i need to impement it using my own api
Regards Awais Bajwa
Joined: Aug 27, 2002
JAAS is a pulggable framework for authentication and loading authorization elements into the Subject. Changing password is a LDAP protocol call.(If LDAP is the user registry).
Joined: May 25, 2006
I have the same question as Awais. I won't know ahead of time if the user store is LDAP or JDBC. That will be configured in the java security file byany client using my software. It seems we should be able to use JAAS to change the password.
Joined: Dec 03, 2001
JAAS Framework does not provide any method for change password. Neither LoginContext nor LoginModule interfaces provide this method.
But you can still use some patterns to include this operation in your implementation login module and achieve this functionality.
Joined: Jan 16, 2001
Thnaks guys for your posts.. aforementioned issue of JAAS is still not resolvd... instead of JAAS ..i used Form based authentication...and it is okey for my current requirements.