@Override
    public void destroy() {
        script.close();
    }
This is {@link GroovyRegisteredServiceAccessStrategyEnforcer}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-services-api/src/main/java/org/apereo/cas/services/GroovyRegisteredServiceAccessStrategyEnforcer.java