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

オープン
#51 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
php

調査の方向性

metarefresh モジュールの RequestedAttribute の解析と PHP メタデータ生成のエントリポイントから始め、issue にある XML 例と期待される PHP 構造を指針として使用します。要求された属性値が保持され、その属性名の下に表現されていることを確認し、生成されたメタデータが要求された構造と一致することを検証します。

索引モデルが issue の本文から書いたものです。

説明

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'
]
主要言語
PHP
スター
9
フォーク
19
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

simplesamlphp/simplesamlphp-module-metarefresh のほかの issue

simplesamlphp/simplesamlphp-module-metarefresh の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。