MVPD Authentication mvpd-authn
概要 mvpd-authn-overview
実際のサービスプロバイダー(SP)の役割はプログラマーが保持しますが、Adobe Pass認証はそのプログラマーのSP プロキシとして機能します。 Adobe Pass Authenticationを仲介者として使用することで、MVPDとプログラマーの両方が使用権限プロセスをケースバイケースでカスタマイズする必要がなくなります。
次の手順では、プログラマーがSAMLをサポートするMVPDから認証をリクエストする際に、Adobe Pass認証を使用して一連のイベントを示します。 Adobe Pass Authentication Access Enabler コンポーネントは、ユーザー/サブスクライバーのクライアントでアクティブであることに注意してください。 そこから、Access Enablerによって認証フローのすべての手順が容易になります。
- ユーザーが保護されたコンテンツへのアクセスを要求すると、Access Enablerはプログラマー(SP)に代わって認証(AuthN)を開始します。
- SPのアプリは、有料テレビ事業者(MVPD)を取得するために、利用者に「MVPD ピッカー」を表示します。 次に、SPは、ユーザーのブラウザーを、選択したMVPD ID プロバイダー(IdP)サービスにリダイレクトします。 これは「プログラマー主導のログイン」です。 MVPDは、IdPのレスポンスをAdobeのSAML アサーションコンシューマーサービスに送信し、処理されます。
- 最後に、Access EnablerはブラウザーをSP サイトにリダイレクトし、AuthN リクエストのステータス(成功/失敗)をSPに通知します。
認証リクエスト authn-req
上記の手順で説明したように、AuthN フロー中に、MVPDはSAML ベースのAuthN リクエストを受け入れ、SAML AuthN レスポンスを送信する必要があります。
Online Content Access (OLCA)認証および認証インターフェイス仕様では、標準のAuthN リクエストと応答が表示されます。 Adobe Pass Authenticationでは、MVPDがこの標準に基づいてエンタイトルメントメッセージを送信する必要はありませんが、仕様を調べると、AuthN トランザクションに必要な主要属性にinsightを提供することができます。
SAML認証リクエストの例:
<?xml version="1.0" encoding="UTF-8"?>
<samlp:AuthnRequest
AssertionConsumerServiceURL=http://sp.auth.adobe.com/sp/saml/SAMLAssertionConsumer
Destination=http://idp.com/SSOService
ForceAuthn="false"
ID="_c0fc667e-ad12-44d6-9cae-bc7cf04688f8"
IsPassive="false"
IssueInstant="2010-08-03T14:14:54.372Z"
ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
Version="2.0"
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol">
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">
http://saml.sp.adobe.adobe.com
</saml:Issuer>
<ds:Signature xmlns:ds=_signature_block_goes_here_
</ds:Signature>
<samlp:NameIDPolicy
AllowCreate="true"
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
SPNameQualifier="http://saml.sp.adobe.adobe.com"/>
</samlp:AuthnRequest>
次の表では、認証リクエストに含める必要がある属性とタグと、デフォルトの期待値について説明します。
SAML認証要求の詳細
認証レスポンス authn-response
認証要求を受信して処理した後、MVPDは認証応答を送信する必要があります。
SAML認証応答のサンプル
<?xml version="1.0" encoding="UTF-8"?>
<samlp:Response Destination="https://sp.auth.adobe.com/sp/saml/SAMLAssertionConsumer"
ID="_0ac3a9dd5dae0ce05de20912af6f4f83a00ce19587"
InResponseTo="_c0fc667e-ad12-44d6-9cae-bc7cf04688f8"
IssueInstant="2010-08-17T11:17:50Z" Version="2.0"
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">
http://idp.com/SSOService
</saml:Issuer>
<samlp:Status>
<samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
</samlp:Status>
<saml:Assertion ID="pfxb0662d76-17a2-a7bd-375f-c11046a86742"
IssueInstant="2010-08-17T11:17:50Z"
Version="2.0">
<saml:Issuer>http://idp.com/SSOService</saml:Issuer>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#pfxb0662d76-17a2-a7bd-375f-c11046a86742">
<ds:Transforms>
<ds:Transform
Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<ds:Transform
Algorithm=http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<ds:DigestValue>LgaPI2ASx/fHsoq0rB15Zk+CRQ0=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>
POw/mCKF__shortened_for_brevity__9xdktDu+iiQqmnTs/NIjV5dw==
</ds:SignatureValue>
<ds:KeyInfo>
<ds:X509Data>
<ds:X509Certificate>
MIIDVDCCAjygAwIBA__shortened_for_brevity_utQ==
</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</ds:Signature>
<saml:Subject>
<saml:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
SPNameQualifier="https://saml.sp.auth.adobe.com">
_5afe9a437203354aa8480ce772acb703e6bbb8a3ad
</saml:NameID>
<saml:SubjectConfirmation
Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<saml:SubjectConfirmationData
InResponseTo="_c0fc667e-ad12-44d6-9cae-bc7cf04688f8"
NotOnOrAfter="2010-08-17T11:22:50Z"
Recipient="https://sp.auth.adobe.com/sp/saml/SAMLAssertionConsumer"/>
</saml:SubjectConfirmation>
</saml:Subject>
<saml:Conditions NotBefore="2010-08-17T11:17:20Z"
NotOnOrAfter="2010-08-17T19:17:50Z">
<saml:AudienceRestriction>
<saml:Audience>https://saml.sp.auth.adobe.com</saml:Audience>
</saml:AudienceRestriction>
</saml:Conditions>
<saml:AuthnStatement AuthnInstant="2010-08-17T11:17:50Z"
SessionIndex="_1adc7692e0fffbb1f9b944aeafce62aaa7d770cd9e">
<saml:AuthnContext>
<saml:AuthnContextClassRef>
urn:oasis:names:tc:SAML:2.0:ac:classes:Password
</saml:AuthnContextClassRef>
</saml:AuthnContext>
</saml:AuthnStatement>
</saml:Assertion>
</samlp:Response>
上記のサンプルでは、Adobe SPはSubject/NameIdからユーザーIDを取得することを想定しています。 Adobe SPは、カスタム定義された属性からユーザーIDを取得するように設定できます。応答には、次のような要素が含まれている必要があります。
<saml:AttributeStatement>
<saml:Attribute Name="guid" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue xsi:type="xs:string">
71C69B91-F327-F185-F29E-2CE20DC560F5
</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
SAML認証応答の詳細