Skip to content

Metarefresh module should add requested attribute values to PHP metadata when adding requested attributes #51

@kwessel

Description

@kwessel

Is your feature request related to a problem? Please describe.

XML metadata supports not only specifiying an SP's requested attributes, but also specific values of those attributes:

    <RequestedAttribute FriendlyName="eduPersonEntitlement" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.7" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" isRequired="true">                                                         
      <saml:AttributeValue xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">urn:mace:incommon:uiuc.edu:some:value</saml:AttributeValue>                                                                                                    
    </RequestedAttribute>

Currently, the metarefresh module includes the requested attributes in the generated PHP metadata, but not the requested values:

'attributes' => [
    'urn:oid:1.3.6.1.4.1.5923.1.1.1.7',
]

It should generate this instead:

'attributes' => [
    'urn:oid:1.3.6.1.4.1.5923.1.1.1.7' => [ ' urn:mace:incommon:uiuc.edu:some:value'
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions