simplesamlphp / simplesamlphp/simplesamlphp-module-metarefresh
Metarefresh module should add requested attribute values to PHP metadata when adding requested attributes
Nessuno ha ancora preso questa issue.
- Lingua principale
- PHP
- Stelle
- 9
- Fork
- 19
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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'
]
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dai punti di ingresso del modulo metarefresh per il parsing di RequestedAttribute e la generazione dei metadati PHP, usando come guida l’esempio XML e la struttura PHP prevista nell’issue. Conferma che i valori degli attributi richiesti vengano mantenuti e rappresentati sotto i rispettivi nomi degli attributi, quindi verifica che i metadati generati corrispondano alla struttura richiesta.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- php
- Ambito
- authentication
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100