Skip to content

Mapping attributes to 'user friendly' names

Remold edited this page Jul 6, 2015 · 1 revision

The consent and profile screen present attributes in a 'user friendly' way to end-user.

The consent screen is shown if the hashed values send to the SP are changed or if the user has never logged in to the SP. The attributes which are shown are based on the ARP and the configuration in OpenConext-engineblock/application/configs/attributes-SURFconext.json. In this file for each known attribute (unknown attributes are never shown in the consent screen) you can configure if it should be displayed in the consent screen and what the order is.

{
    "urn:oid:2.5.4.3": "urn:mace:dir:attribute-def:cn",
    "urn:mace:dir:attribute-def:cn": {
        "Description": {
            "en": "your full name",
            "nl": "volledige persoonsnaam"
        },
        "Name": {
            "en": "Full Name",
            "nl": "Volledige persoonsnaam"
        },
        "DisplayOrder" : 2,
        "DisplayConsent" : true
    }
}