class AuthenticationManagerLdapImpl extends AuthenticationManager {

    public String resetPassword(User user, String[] rnd0, String[] rnd1, String[] rnd2, String[] rnd3, String[] rnd4) {
        String changedPassword = generateRandomPassword(rnd0, rnd1, rnd2, rnd3, rnd4);
        final User userAdmin = AuthenticationManager.getDefault().getCurrentPrincipal().getUser();
        
        changePassword(user, changedPassword, userAdmin);
        activateLdapUserPasswordResetFlag(user, userAdmin);
        return changedPassword;

    }

    public  AuthenticationManagerLdapImpl(ConfigurationUtil cfg, IUserRolesService userRolesService,
            AuthenticationManagerLdapTemplate authenticationManagerLdapTemplate);

}