@Override
    public void close() {
        connectionFactory.close();
    }
Execute a password modify operation.

@param currentDn   the current dn
@param oldPassword the old password
@param newPassword the new password
@param type        the type
@return true /false
<p>
AD NOTE: Resetting passwords requires binding to AD as user with privileges to reset other users passwords
and it does not validate old password or respect directory policies such as history or minimum password age.
Changing a password with the old password does respect directory policies and requires no account operator
privileges on the bind user. Pass in blank old password if reset is in order (e.g. forgot password) vs.
letting user change their own (e.g. expiring) password.
support/cas-server-support-ldap-core/src/main/java/org/apereo/cas/util/LdapConnectionFactory.java