@Override
    public void destroy() throws Exception {
        this.cassandraSessionFactory.close();
    }
This is {@link CassandraServiceRegistry}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-cassandra-service-registry/src/main/java/org/apereo/cas/services/cassandra/CassandraServiceRegistry.java