「マイクロソフト系技術情報 Wiki」は、「Open棟梁Project」,「OSSコンソーシアム .NET開発基盤部会」によって運営されています。
汎用認証サイトにSAML2.0を実装するため仕様を読む。
アサーション内では、一連の内部要素が以下のステートメントを記述する。
※ saml-core-2.0-os.pdfの内容が微妙なので、
# | パラメタ | 要否 | 値 | 既定値 | 内容 | 汎用認証サイト |
1 | ID | Required | xs:ID | 400 ビット以内のID | ○ | |
2 | Version | Required | "2.0" | バージョンを指定 | ○ | |
3 | IssueInstant? | Required | UTC time | 発行時刻を指定 | ○ |
# | パラメタ | 要否 | 値 | 既定値 | 内容 | 汎用認証サイト |
1 | saml:Issuer | Required | URI | - | IdP の URI | ○ |
2 | ds:Signature | Required | - | XML署名 | ○ | |
3 | saml:Subject | Optional | - | 拡張スキーマで定義される Subject の方向 | ○ | |
4 | saml:Statement | Optional | - | 任意情報 | ○ | |
5 | saml:AuthnStatement? | Optional | - | 認証情報 | ○ | |
6 | saml:AuthzStatement? | Optional | - | 認可情報 | - | |
7 | saml:AttributeStatement? | Optional | - | 属性情報 | - | |
8 | saml:Conditions | Optional | - | 有効性を評価する時に考慮すべき条件 | - | |
9 | saml:Advice | Optional | - | 付加情報 | - |
# | パラメタ | 要否 | 値 | 既定値 | 内容 | 汎用認証サイト |
1 | Method | Required | URI | urn:oasis:names:tc:SAML:2.0:cm:bearer | bearerをポイント | ○ |
※ Any Number:型が違う時に要否が変わる場合は、この表現。
https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
2 SAML Assertions 2.1 Schema Header and Namespace Declarations 2.2 Name Identifiers 2.2.1 Element <BaseID> 2.2.2 Complex Type NameIDType 2.2.3 Element <NameID> 2.2.4 Element <EncryptedID> 2.2.5 Element <Issuer> 2.3 Assertions 2.3.1 Element <AssertionIDRef> 2.3.2 Element <AssertionURIRef> 2.3.3 Element <Assertion> 2.3.4 Element <EncryptedAssertion> 2.4 Subjects 2.4.1 Element <Subject> 2.4.1.1 Element <SubjectConfirmation> 2.4.1.2 Element <SubjectConfirmationData> 2.4.1.3 Complex Type KeyInfoConfirmationDataType 2.4.1.4 Example of a Key-Confirmed <Subject> 2.5 Conditions 2.5.1 Element <Conditions> 2.5.1.1 General Processing Rules 2.5.1.2 Attributes NotBefore and NotOnOrAfter 2.5.1.3 Element <Condition> 2.5.1.4 Elements <AudienceRestriction> and <Audience> 2.5.1.5 Element <OneTimeUse> 2.5.1.6 Element <ProxyRestriction> 2.6 Advice 2.6.1 Element <Advice> 2.7 Statements 2.7.1 Element <Statement> 2.7.2 Element <AuthnStatement> 2.7.2.1 Element <SubjectLocality> 2.7.2.2 Element <AuthnContext> 2.7.3 Element <AttributeStatement> 2.7.3.1 Element <Attribute> 2.7.3.1.1 Element <AttributeValue> 2.7.3.2 Element <EncryptedAttribute> 2.7.4 Element <AuthzDecisionStatement> 2.7.4.1 Simple Type DecisionType 2.7.4.2 Element <Action> 2.7.4.3 Element <Evidence>
Tags: :IT国際標準, :認証基盤, :クレームベース認証, :SAML