default ExecutableCompiledScript fromResource(final Resource resource) {
        return fromResource(resource, true);
    }
From resource executable compiled script.

@param resource the resource
@return the executable compiled script
api/cas-server-core-api-scripting/src/main/java/org/apereo/cas/util/scripting/ExecutableCompiledScriptFactory.java