Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Zie voor alle details ons attributenschema: Attributen in SURFconext (NL).

In onze Handleidingen en richtlijnen is voor ADFS-varianten toegevoegd hoe dit attribuut te configureren. Voor het gemak vind je het ook hieronder voor ADFS en SimpleSAMLphp.

ADFS (alle varianten)

...

Om

...

eduPersonScopedAffiliation

...

toe

...

te

...

voegen

...

aan

...

de

...

ADFS

...

claims

...

kan

...

de

...

volgende

...

Custom

...

claims

...

rule

...

gebruikt

...

worden,

...

er

...

vanuit

...

gaande

...

dat

...

de

...

claims

...

"urn:mace:dir:attribute-def:eduPersonAffiliation"

...

en

...

"urn:mace:terena.org:attribute-def:schacHomeOrganization"

...

correct

...

gedefinieerd

...

zijn.

...

Kies

...

voor

...

"Edit

...

Claim

...

rules"

...

en

...

"Add

...

Rule".

...

Kies

...

in

...

het

...

volgende

...

scherm

...

voor

...

"Send

...

Claims

...

Using

...

a

...

Custom

...

Rule"

...

en

...

klik

...

op

...

"Next".

...

Geef

...

de

...

Rule

...

een

...

beschrijvende

...

naam

...

zoals

...

"Create

...

eduPersonScopedAffiliation"

...

en

...

plak

...

de

...

volgende

...

code

...

in

...

het

...

"Custom

...

Rule"

...

venster:

Code Block


c1:[Type == "urn:mace:dir:attribute-def:eduPersonAffiliation"] &&
c2:[Type == "urn:mace:terena.org:attribute-def:schacHomeOrganization"]
=> issue(Type = "urn:mace:dir:attribute-def:eduPersonScopedAffiliation", Value = c1.Value + "@" + c2.Value);

Klik

...

"Finish"

...

en

...

klik

...

"Ok"

...

in

...

de

...

"Edit

...

Claims

...

Rules"

...

dialoog.

...

Test

...

hierna

...

de

...

uitgifte

...

van

...

het

...

nieuwe attribuut.

SimpleSAMLphp

Het volgende authentication processing filter kan in de "authproc"-sectie van ofwel saml20-idp-hosted ofwel saml20-sp-remote (voor remote SP SURFconext) toegevoegd worden:

Code Block
    80 => [
        'class' => 'core:ScopeAttribute',
        'scopeAttribute' => 'schacHomeOrganization',
        'sourceAttribute' => 'eduPersonAffiliation',
        'targetAttribute' => 'eduPersonScopedAffiliation',
    ], attribuut.