def METHOD_NAME(self, defintion):
    mapping = {
        "USERINFO": "ldap_mapping",
        "LDAPFILTER": "ldap_userfilter",
        "LDAPBASE": "ldap_basedn",
        "BINDPW": "ldap_password",
        "BINDDN": "ldap_binddn",
        "SIZELIMIT": "ldap_sizelimit",
        "LDAPSEARCHFILTER": "ldap_searchfilter",
        "LOGINNAMEATTRIBUTE": "ldap_loginattr",
        "EnforceTLS": "enforcetls",
        "LDAPURI": "ldap_uri",
        "UIDTYPE": "ldap_uidtype",
        "NOREFERRALS": "noreferrals",
        "TIMEOUT": "ldap_timeout",
        "CACERTIFICATE": "ldap_certificate",
    }
    transform = {}
    for key, value in list(defintion.items()):
        if key in mapping:
            transform[mapping[key]] = value
    return transform