@Override
    public Collection<? extends ConsentDecision> findConsentDecisions() {
        return this.mongoTemplate.findAll(ConsentDecision.class, this.collectionName);
    }
This is {@link MongoDbConsentRepository}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-consent-mongo/src/main/java/org/apereo/cas/consent/MongoDbConsentRepository.java