Skip to end of metadata
Go to start of metadata

Connecting a service to SRAM can be accomplished using three protocols: SAML2, OpenIDConnect and LDAP. For each of these, the same attribute set is available.  In this page we give an overview of which attributes you can expect for users, and how they are available in the different protocols.

Attribute nameDescriptionSAML attributeOIDC claim
(scope)
LDAP attributeSCIM
https://sram.surf.nl/api/scim/v2/ResourceTypes
Name in SBS UI
NameFull name for display purposes, possibly including titlescn (urn:oid:2.5.4.3)
displayname (urn:oid:2.16.840.1.113730.3.1.241)

name
scope: profile

displayName

displayName

(User Core)

Name
First nameFirst namegivenName (urn:oid:2.5.4.42)given_name
scope: profile

givenName

name.givenName

(User Core)

Not visible in UI
SurnameLast namesn (urn:oid:2.5.4.4)

family_name
scope: profile

sn

name.familyName

(User-Core)

Not visible in UI
Email addressMain email addressmail (urn:oid:0.9.2342.19200300.100.1.3)email
scope: email
mail

email.value

AND

emails.primary eq "true"

(UserCore)

E-mail
Platform identifierUnique persistent identifier for the user. It consists of a hash value (random hex string) scoped to SRAM, e.g., 0126789acdef014567@sram.surf.nl .

Best non-human readable identifier. Use this as your main identifier for users.
eduPersonUniqueId (urn:oid:1.3.6.1.4.1.5923.1.1.1.13)
urn:oasis:names:tc:SAML:attribute:subject-id
voPersonID (urn:oid:1.3.6.1.4.1.25178.4.1.6)

sub
(scope: openid)

eduperson_unique_id
(scope: to be verified)

eduPersonUniqueId

urn:mace:surf.nl:sram:scim:extension:User.eduPersonUniqueId

(User SRAM Extension)

UID
Institutional identifierIdentifier from the user's original institutional IdP (e.g. pietjansen@uni-harderwijk.nl)urn:oid:1.3.6.1.4.1.25178.4.1.5

voperson_external_id
scope: voperson_external_id

voPersonExternalId

urn:mace:surf.nl:sram:scim:extension:User.voPersonExternalId

(User SRAM Extension)

Institute abbreviation?
Short usernameShort, human-readably username for login to backend systems (e.g., pietjansen03)urn:oid:0.9.2342.19200300.100.1.1

uid 
scope: uid

uid

userName

(User Core)

Username
Short platform identifier

Human-readable platform identifier (e.g., pietjansen@sram.surf.nl)

This is a scoped version of the Short username

Before January 2022, the short platform identifier was identical to the regular platform identifier (eduperson_unique_id/subject_id/sub).  That value remains available in other attributes (see above).

urn:oid:1.3.6.1.4.1.5923.1.1.1.6

eduperson_principal_name
scope: eduperson_principal_name

-

externalId

(User Core)

n/a
Platform affiliationUser's role in the SRAM platform, typically member@sram.surf.nlurn:oid:1.3.6.1.4.1.5923.1.1.1.9

eduperson_scoped_affiliation
scope: eduperson_scoped_affiliation

eduPersonScopedAffiliation

urn:mace:surf.nl:sram:scim:extension:User.eduPersonScopedAffiliation

(User SRAM Extension)

n/a
Institutional affiliation

User's role(s) in their home organization (e.g., employee@uni-harderwijk.nl)

Only present if supplied by the user's home institution.

urn:oid:1.3.6.1.4.1.25178.4.1.11

voperson_external_affiliation
scope: voperson_external_affiliation

voPersonExternalAffiliation

urn:mace:surf.nl:sram:scim:extension:User.voPersonExternalAffiliation

(User SRAM Extension)

Group and CO memberships

Membership of collaborations and groups within each collaboration.

urn:mace:surf.nl:sram:group:<orgname>:<coname>[:<groupname>]
urn:oid:1.3.6.1.4.1.5923.1.1.1.7

eduperson_entitlement
scope: eduperson_entitlement

memberOf 
(NB: operational attribute, see Connect a service to LDAP)

members.value is reference to SCIM User identifier.

(Group Core)

Entitlements
CO labels

Organizational labels set to collaborations

urn:mace:surf.nl:sram:label:<orgname>:<coname>:<label>

urn:oid:1.3.6.1.4.1.5923.1.1.1.7eduperson_entitlement
scope: eduperson_entitlement
businessCategory
(NB: attribute of Collaboration)

urn:mace:surf.nl:sram:scim:extension:Group.labels

(Group SRAM Extension)


SSH public keyPublic ssh key which the user has configured to log into backend systems
urn:oid:1.3.6.1.4.1.24552.500.1.1.1.13

ssh_public_key
scope: ssh_public_key

sshPublicKey

x509Certificates.value

(User-Core)

SSH public key
StatusStatus of the user; possible values are "active" and "expired" (for users whose membership has expired or who are inactive)-
(users who are able to login via SAML are always "active")
-
(users who are able to login via OIDC are always "active")
voPersonStatus 

active

(User Core)

-

See the LDAP directory structure reference for all attributes available in LDAP.

SCIM Schemas:

  • No labels