presto-plugin-toolkit/src/main/java/io/prestosql/plugin/base/security/FileBasedAccessControlModule.java/FileBasedAccessControlModule/getConnectorAccessControl
class FileBasedAccessControlModule:    @Inject
    @Provides
    public ConnectorAccessControl getConnectorAccessControl(FileBasedAccessControlConfig config)
    {
        if (config.getRefreshPeriod() != null) {
            return ForwardingConnectorAccessControl.of(memoizeWithExpiration(
                    () -> {
                        log.info("Refreshing system access control from %s", config.getConfigFile());
                        return new FileBasedAccessControl(config);
                    },
                    config.getRefreshPeriod().toMillis(),
                    MILLISECONDS));
        }
        return new FileBasedAccessControl(config);
    }