forked from docs/doc-exports
Reviewed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com> Co-authored-by: weihongmin1 <weihongmin1@huawei.com> Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
282 lines
23 KiB
HTML
282 lines
23 KiB
HTML
<a name="en-us_topic_0057845575"></a><a name="en-us_topic_0057845575"></a>
|
|
|
|
<h1 class="topictitle1">Registering a Protocol</h1>
|
|
<div id="body1492676120179"><div class="section" id="en-us_topic_0057845575__section6159829710289"><h4 class="sectiontitle">Function</h4><p id="en-us_topic_0057845575__p202967103215">This API is used to register a protocol, that is, associate a rule with an identity provider.</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0057845575__section932889710289"><h4 class="sectiontitle">URI</h4><ul id="en-us_topic_0057845575__ul1744316010289"><li id="en-us_topic_0057845575__li2277071810289">URI format<p id="en-us_topic_0057845575__p360987610289"><a name="en-us_topic_0057845575__li2277071810289"></a><a name="li2277071810289"></a>PUT /v3/OS-FEDERATION/identity_providers/{idp_id}/protocols/{protocol_id}</p>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0057845575__ul2396457310289"><li id="en-us_topic_0057845575__li1435457010289">URI parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0057845575__table6208226610289" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0057845575__row2710995810289"><th align="left" class="cellrowborder" valign="top" width="21.020000000000003%" id="mcps1.3.2.3.1.1.1.5.1.1"><p id="en-us_topic_0057845575__p4842300710289"><strong id="en-us_topic_0057845575__en-us_topic_0026586105_b842352706143612">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.830000000000002%" id="mcps1.3.2.3.1.1.1.5.1.2"><p id="en-us_topic_0057845575__p2994946410289"><strong id="en-us_topic_0057845575__en-us_topic_0026586105_b842352706143621">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.1%" id="mcps1.3.2.3.1.1.1.5.1.3"><p id="en-us_topic_0057845575__p998748110289"><strong id="en-us_topic_0057845575__b842352706143526_1">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="43.050000000000004%" id="mcps1.3.2.3.1.1.1.5.1.4"><p id="en-us_topic_0057845575__p367962710289"><strong id="en-us_topic_0057845575__b20601766145329_1">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0057845575__row2961435710289"><td class="cellrowborder" valign="top" width="21.020000000000003%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="en-us_topic_0057845575__p4995273610289">idp_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.830000000000002%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="en-us_topic_0057845575__p1963982810289">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.1%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="en-us_topic_0057845575__p4732219910289">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.050000000000004%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="en-us_topic_0057845575__p789294810289">ID of an identity provider.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0057845575__row392767110289"><td class="cellrowborder" valign="top" width="21.020000000000003%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="en-us_topic_0057845575__p4970591510289">protocol_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.830000000000002%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="en-us_topic_0057845575__p6675617210289">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.1%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="en-us_topic_0057845575__p3854081710289">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.050000000000004%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="en-us_topic_0057845575__p3479845010289">ID of a protocol. </p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0057845575__section10223310289"><h4 class="sectiontitle">Request Parameters</h4><ul id="en-us_topic_0057845575__ul828087510289"><li id="en-us_topic_0057845575__li741901710289">Parameters in the request header
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0057845575__table6677115410289" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0057845575__row5794046110289"><th align="left" class="cellrowborder" valign="top" width="21.020000000000003%" id="mcps1.3.3.2.1.1.1.5.1.1"><p id="en-us_topic_0057845575__p6266579210289"><strong id="en-us_topic_0057845575__b346404695">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.830000000000002%" id="mcps1.3.3.2.1.1.1.5.1.2"><p id="en-us_topic_0057845575__p4276437110289"><strong id="en-us_topic_0057845575__b857780213">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.1%" id="mcps1.3.3.2.1.1.1.5.1.3"><p id="en-us_topic_0057845575__p4136199810289"><strong id="en-us_topic_0057845575__b842352706143526_3">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="43.050000000000004%" id="mcps1.3.3.2.1.1.1.5.1.4"><p id="en-us_topic_0057845575__p6198754610289"><strong id="en-us_topic_0057845575__b20601766145329_3">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0057845575__row5493532610289"><td class="cellrowborder" valign="top" width="21.020000000000003%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="en-us_topic_0057845575__p2057645110289">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.830000000000002%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="en-us_topic_0057845575__p5607985710289">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.1%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="en-us_topic_0057845575__p4617454310289">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.050000000000004%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="en-us_topic_0057845575__p4915046910289">Fill <strong id="en-us_topic_0057845575__b842352706161331">application/json;charset=utf8</strong> in this field.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0057845575__row3970104110289"><td class="cellrowborder" valign="top" width="21.020000000000003%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="en-us_topic_0057845575__p6166774310289">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.830000000000002%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="en-us_topic_0057845575__p2903129010289">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.1%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="en-us_topic_0057845575__p272426510289">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.050000000000004%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="en-us_topic_0057845575__p28734406143622">Authenticated token with the <strong id="en-us_topic_0057845575__b750798910387">Security Administrator</strong> permission.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="en-us_topic_0057845575__li0806182017423">Parameters in the request body
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0057845575__table434610385420" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0057845575__row7354193804211"><th align="left" class="cellrowborder" valign="top" width="20.77%" id="mcps1.3.3.2.2.1.1.5.1.1"><p id="en-us_topic_0057845575__p735412383422"><strong id="en-us_topic_0057845575__b639170533">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.73%" id="mcps1.3.3.2.2.1.1.5.1.2"><p id="en-us_topic_0057845575__p73541338144210">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.5%" id="mcps1.3.3.2.2.1.1.5.1.3"><p id="en-us_topic_0057845575__p14354103894216">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="43%" id="mcps1.3.3.2.2.1.1.5.1.4"><p id="en-us_topic_0057845575__p143541638164214">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0057845575__row635463844217"><td class="cellrowborder" valign="top" width="20.77%" headers="mcps1.3.3.2.2.1.1.5.1.1 "><p id="en-us_topic_0057845575__p10354153817420"><a href="#en-us_topic_0057845575__li3983238110289">protocol</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.73%" headers="mcps1.3.3.2.2.1.1.5.1.2 "><p id="en-us_topic_0057845575__p4354123894211">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.5%" headers="mcps1.3.3.2.2.1.1.5.1.3 "><p id="en-us_topic_0057845575__p2354203834216">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.3.2.2.1.1.5.1.4 "><p id="en-us_topic_0057845575__p435414385426">Protocol information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="en-us_topic_0057845575__li3983238110289"><a name="en-us_topic_0057845575__li3983238110289"></a><a name="li3983238110289"></a>protocol
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0057845575__table2294710910289" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0057845575__row3973971710289"><th align="left" class="cellrowborder" valign="top" width="21.28212821282128%" id="mcps1.3.3.2.3.1.1.5.1.1"><p id="en-us_topic_0057845575__p6480052110289"><strong id="en-us_topic_0057845575__b2085142014">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.7017701770177%" id="mcps1.3.3.2.3.1.1.5.1.2"><p id="en-us_topic_0057845575__p1435081210289"><strong id="en-us_topic_0057845575__b1780721102">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.961796179617963%" id="mcps1.3.3.2.3.1.1.5.1.3"><p id="en-us_topic_0057845575__p2156516110289"><strong id="en-us_topic_0057845575__b842352706143526_5">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="43.05430543054305%" id="mcps1.3.3.2.3.1.1.5.1.4"><p id="en-us_topic_0057845575__p194760610289"><strong id="en-us_topic_0057845575__b20601766145329_5">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0057845575__row2353837910289"><td class="cellrowborder" valign="top" width="21.28212821282128%" headers="mcps1.3.3.2.3.1.1.5.1.1 "><p id="en-us_topic_0057845575__p2756056110289">mapping_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.7017701770177%" headers="mcps1.3.3.2.3.1.1.5.1.2 "><p id="en-us_topic_0057845575__p1781297510289">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.961796179617963%" headers="mcps1.3.3.2.3.1.1.5.1.3 "><p id="en-us_topic_0057845575__p3356491010289">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.05430543054305%" headers="mcps1.3.3.2.3.1.1.5.1.4 "><p id="en-us_topic_0057845575__p3440322210289">Mapping ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0057845575__ul3519758210289"><li id="en-us_topic_0057845575__li4834278310289">Example request<pre class="screen" id="en-us_topic_0057845575__screen531968421443"><em id="en-us_topic_0057845575__i84412045111510">curl -i -k -H 'Accept:application/json' -H 'Content-Type:application/json;charset=utf8' -H "X-Auth-Token:$token" -X PUT -d'{"protocol":{"mapping_id":"ACME"}}' https://sample.domain.com/v3/OS-FEDERATION/identity_providers/ACME/protocols/saml</em></pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0057845575__section5620843410289"><h4 class="sectiontitle">Response Parameters</h4><ul id="en-us_topic_0057845575__ul5658933310289"><li id="en-us_topic_0057845575__li3954195110289">Parameters in the response body
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0057845575__table2033324010289" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0057845575__row3108680210289"><th align="left" class="cellrowborder" valign="top" width="21.150000000000002%" id="mcps1.3.4.2.1.1.1.5.1.1"><p id="en-us_topic_0057845575__p3500305410289"><strong id="en-us_topic_0057845575__b1579125774">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.700000000000003%" id="mcps1.3.4.2.1.1.1.5.1.2"><p id="en-us_topic_0057845575__p1667515910289"><strong id="en-us_topic_0057845575__b653836967">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.1%" id="mcps1.3.4.2.1.1.1.5.1.3"><p id="en-us_topic_0057845575__p851064410289"><strong id="en-us_topic_0057845575__b842352706143526_7">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="43.050000000000004%" id="mcps1.3.4.2.1.1.1.5.1.4"><p id="en-us_topic_0057845575__p1827358210289"><strong id="en-us_topic_0057845575__b20601766145329_7">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0057845575__row16808414162613"><td class="cellrowborder" valign="top" width="21.150000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="en-us_topic_0057845575__p12808191422617"><a href="#en-us_topic_0057845575__li171961714172319">protocol</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.700000000000003%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="en-us_topic_0057845575__p1180811415266">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.1%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="en-us_topic_0057845575__p6808151472612">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43.050000000000004%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="en-us_topic_0057845575__p10808214112619">Protocol information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="en-us_topic_0057845575__li171961714172319"><div class="p" id="en-us_topic_0057845575__p4844125814274"><a name="en-us_topic_0057845575__li171961714172319"></a><a name="li171961714172319"></a>protocol
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0057845575__en-us_topic_0224276985_response_Rs1341ProtocolsArritem" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0057845575__en-us_topic_0224276985_row18133622174914"><th align="left" class="cellrowborder" valign="top" width="21.11%" id="mcps1.3.4.2.2.1.1.1.4.1.1"><p id="en-us_topic_0057845575__en-us_topic_0224276985_p1913411221497">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.53%" id="mcps1.3.4.2.2.1.1.1.4.1.2"><p id="en-us_topic_0057845575__en-us_topic_0224276985_p1013422284913">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="61.36000000000001%" id="mcps1.3.4.2.2.1.1.1.4.1.3"><p id="en-us_topic_0057845575__en-us_topic_0224276985_p9134722154914">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0057845575__en-us_topic_0224276985_row1133102214490"><td class="cellrowborder" valign="top" width="21.11%" headers="mcps1.3.4.2.2.1.1.1.4.1.1 "><p id="en-us_topic_0057845575__en-us_topic_0224276985_p1513413224497">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.53%" headers="mcps1.3.4.2.2.1.1.1.4.1.2 "><p id="en-us_topic_0057845575__en-us_topic_0224276985_p1613513220497">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.36000000000001%" headers="mcps1.3.4.2.2.1.1.1.4.1.3 "><p id="en-us_topic_0057845575__en-us_topic_0224276985_p213502215498">Protocol ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0057845575__en-us_topic_0224276985_row21333224498"><td class="cellrowborder" valign="top" width="21.11%" headers="mcps1.3.4.2.2.1.1.1.4.1.1 "><p id="en-us_topic_0057845575__en-us_topic_0224276985_p813582210494">mapping_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.53%" headers="mcps1.3.4.2.2.1.1.1.4.1.2 "><p id="en-us_topic_0057845575__en-us_topic_0224276985_p151354225498">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.36000000000001%" headers="mcps1.3.4.2.2.1.1.1.4.1.3 "><p id="en-us_topic_0057845575__en-us_topic_0224276985_p2135122294911">Mapping ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0057845575__en-us_topic_0224276985_row1613342210497"><td class="cellrowborder" valign="top" width="21.11%" headers="mcps1.3.4.2.2.1.1.1.4.1.1 "><p id="en-us_topic_0057845575__en-us_topic_0224276985_p12136192234918"><a href="#en-us_topic_0057845575__li197002194250">links</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.53%" headers="mcps1.3.4.2.2.1.1.1.4.1.2 "><p id="en-us_topic_0057845575__en-us_topic_0224276985_p2013682220493">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.36000000000001%" headers="mcps1.3.4.2.2.1.1.1.4.1.3 "><p id="en-us_topic_0057845575__en-us_topic_0224276985_p6136222114915">Protocol resource link information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</li><li id="en-us_topic_0057845575__li197002194250"><a name="en-us_topic_0057845575__li197002194250"></a><a name="li197002194250"></a>protocol.links
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0057845575__table10181127112818" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0057845575__row12008274286"><th align="left" class="cellrowborder" valign="top" width="21.21212121212121%" id="mcps1.3.4.2.3.1.1.4.1.1"><p id="en-us_topic_0057845575__p1020012720284">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.481748174817483%" id="mcps1.3.4.2.3.1.1.4.1.2"><p id="en-us_topic_0057845575__p6200327122811">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="61.306130613061306%" id="mcps1.3.4.2.3.1.1.4.1.3"><p id="en-us_topic_0057845575__p6200527102818">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0057845575__row92004275287"><td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.4.2.3.1.1.4.1.1 "><p id="en-us_topic_0057845575__p1420062792810">identity_provider</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.481748174817483%" headers="mcps1.3.4.2.3.1.1.4.1.2 "><p id="en-us_topic_0057845575__p152001274285">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.306130613061306%" headers="mcps1.3.4.2.3.1.1.4.1.3 "><p id="en-us_topic_0057845575__p5200162717285">Identity provider resource link.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0057845575__row15200327152813"><td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.4.2.3.1.1.4.1.1 "><p id="en-us_topic_0057845575__p11200627122813">self</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.481748174817483%" headers="mcps1.3.4.2.3.1.1.4.1.2 "><p id="en-us_topic_0057845575__p3200192713283">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.306130613061306%" headers="mcps1.3.4.2.3.1.1.4.1.3 "><p id="en-us_topic_0057845575__p8200427112818">Resource link.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="en-us_topic_0057845575__li774514013258">Example response<pre class="screen" id="en-us_topic_0057845575__screen5407914411214">{
|
|
"protocol": {
|
|
"id": "saml",
|
|
"links": {
|
|
"identity_provider": "https://example.com/v3/OS-FEDERATION/identity_providers/ACME",
|
|
"self": "https://example.com/v3/OS-FEDERATION/identity_providers/ACME/protocols/saml"
|
|
},
|
|
"mapping_id": "ACME"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0057845575__section2630008410289"><h4 class="sectiontitle"><strong id="en-us_topic_0057845575__b842352706183230_1">Status Codes</strong></h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0057845575__table4993206110289" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0057845575__row1038470010289"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.1.3.1.1"><p id="en-us_topic_0057845575__p3585434210289"><strong id="en-us_topic_0057845575__b842352706183230_3">Status Code</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.1.3.1.2"><p id="en-us_topic_0057845575__p1852057210289"><strong id="en-us_topic_0057845575__b20601766145329_9">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0057845575__row2377140010289"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845575__p4643521510289">201</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845575__p315609110289">The request is successful.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0057845575__row2840482710289"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845575__p1908962510289">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845575__p275575910289">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0057845575__row2480183510289"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845575__p6279160910289">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845575__p5295557210289">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0057845575__row683810110289"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845575__p1701532610289">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845575__p3606413510289">Access denied.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0057845575__row5614175910289"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845575__p5118860310289">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845575__p5263620410289">The requested resource cannot be found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0057845575__row396379610289"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845575__p5263207910289">405</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845575__p3534001910289">The method specified in the request is not allowed for the requested resource.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0057845575__row4962471510289"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845575__p6017897410289">413</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845575__p4265873410289">The request entity is too large.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0057845575__row4838428810289"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845575__p2681323710289">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845575__p2438860310289">Internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0057845575__row1817084010289"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0057845575__p6255191310289">503</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0057845575__p3354022410289">Service unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0057845619.html">Protocol</a></div>
|
|
</div>
|
|
</div>
|
|
|