@Override
    public void destroy() {
        this.connectionFactory.close();
    }
This is {@link LdapUserGraphicalAuthenticationRepository}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-gua/src/main/java/org/apereo/cas/gua/impl/LdapUserGraphicalAuthenticationRepository.java