🏠
🌡️ 📆 令和6年3月19日
戻る 進む

🗒️ Shibboleth IdPでStatic Attribute+LDAP属性の組合せ

⇒#1201@研究ノート;

日時
関係者(共同研究者)

https://upki.yamagata-u.ac.jp/fed/
#IdP

Shibboleth IdPでStatic Attribute+LDAP属性の組合せ

Shiboleth IdP構築するときに属性情報固定値LDAPから取得した属性加えるときの設定方法示す

たとえばeduPersonAffiliation1)に常に'member'属性2)送信かつLDAPそれ以外の情報があった場合に用いた場合の設定例下記にします

resolver:AttributeDefinition id="eduPersonAffiliation" xsi:type="Simple" xmlns="urn:mace:shibboleth:2.0:resolver:ad"
sourceAttributeID="eduPersonAffiliation"
resolver:Dependency ref="myLDAP" /
resolver:Dependency ref="staticAttributes" /

resolver:AttributeEncoder xsi:type="SAML1String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
name="urn:mace:dir:attribute-def:eduPersonAffiliation" /

resolver:AttributeEncoder xsi:type="SAML2String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
name="urn:oid:1.3.6.1.4.1.5923.1.1.1.1" friendlyName="eduPersonAffiliation" /
/resolver:AttributeDefinition

resolver:DataConnector id="staticAttributes" xsi:type="Static" xmlns="urn:mace:shibboleth:2.0:resolver:dc"

Attribute id="eduPersonAffiliation"
Valuemember/Value
/Attribute

/resolver:DataConnector

たとえばLDAPのeduPersonAffiliation(ePA)facultyが設定されている場合は
職位(eduPersonAffiliation) faculty;member
スコープ付き職位(eduPersonScopedAffiliation)
faculty@yamagata-u.ac.jp;member@yamagata-u.ac.jp

と送信され

LDAPにePAが登録されていないユーザ場合

職位(eduPersonAffiliation) member
スコープ付き職位(eduPersonScopedAffiliation) member@yamagata-u.ac.jp

と送信されるようになっています



(1eduPersonAffiliation(OID:1.3.6.1.4.1.5923.1.1.1.1), SAML属性.
(2構成員,eduPersonAffiliation= member, SAML属性値.

器具・消耗品(履歴)
履歴ID概要
サンプル(履歴)
履歴ID概要
装置(履歴)
履歴ID概要

  1 375 🖱 テキスト画像変換

テキストは、文字コードの羅列です。 文字コードを 表示や印刷するには、フォントを使って画像にします。


西暦と元号

  1 西暦と元号
西暦 令和 🔷 平成 🔷 昭和 🔷 大正 🔷 明治
2004 R-14 H16 S79 T93 M137
2005 R-13 H17 S80 T94 M138
2006 R-12 H18 S81 T95 M139
2007 R-11 H19 S82 T96 M140
2008 R-10 H20 S83 T97 M141
2009 R-9 H21 S84 T98 M142
2010 R-8 H22 S85 T99 M143
2011 R-7 H23 S86 T100 M144
2012 R-6 H24 S87 T101 M145
2013 R-5 H25 S88 T102 M146
2014 R-4 H26 S89 T103 M147
*

参考文献


QRコード
https://edu.yz.yamagata-u.ac.jp/developer/Asp/Youzan/Laboratory/LaboNote/@LaboNote.asp?nLaboNoteID=1201

🎄🎂🌃🕯🎉
山形大学 データベースアメニティ研究所
〒992-8510 山形県米沢市城南4丁目3-16
3号館(物質化学工学科棟) 3-3301
准教授 伊藤智博
0238-26-3573
http://amenity.yz.yamagata-u.ac.jp/

Copyright ©1996- 2024 Databese Amenity Laboratory of Virtual Research Institute,  Yamagata University All Rights Reserved.