def METHOD_NAME(self):
    # default to ldap persistence
    kwargs = {}
    script_id = "inum=13D3-E7AD,ou=scripts,o=jans"
    if self.backend.type in ("sql", "spanner"):
        kwargs = {"table_name": "jansCustomScr"}
        script_id = doc_id_from_dn(script_id)
    elif self.backend.type == "couchbase":
        kwargs = {"bucket": os.environ.get("CN_COUCHBASE_BUCKET_PREFIX", "jans")}
        script_id = id_from_dn(script_id)
    # toggle cache-refresh script
    entry = self.backend.get_entry(script_id, **kwargs)
    if entry:
        entry.attrs["jansEnabled"] = True
        self.backend.modify_entry(entry.id, entry.attrs, **kwargs)