I have a grails application (2.5.0) using Spring security and authenticating with the spring-security-ldap plugin (2.0-RC2) against a windows AD domain.
This works very well to authenticate but now I have the requirement to allow the user to change their password (in fact to require it!).
Despite searching through the documentation, Reading the code and searching with google All I can find is references to LdapUserDetailsManager.changePassword but I cannot find a single example of how to use this.
I find in the plugin
public class GrailsLdapUserDetailsManager extends LdapUserDetailsManager
implements GrailsUserDetailsService {....
but this does not have the changePassword and I do not understand how to call it if it did.
I have looked through all the StackOverflow questions such as
how to change password using spring ldap and spring security
but the answers appear to be written in some other language and talk about things I do not have like xml files.
Can someone tell me, preferably with an understandable example how I can implement a change Password feature in Grails against an ldap AD source in conjunction with the grails spring-security-ldap plugin? Authentication without the ability to manage changing the passwords is just wrong!