@Override
    public ConsentDecision storeConsentDecision(final ConsentDecision decision) throws Throwable {
        val result = super.storeConsentDecision(decision);
        writeAccountToGroovyResource(decision);
        return result;
    }
This is {@link GroovyConsentRepository}.

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