source: TI12-security/trunk/NDGSecurity/python/ndg_security_server/ndg/security/server/wsgi/openid/provider/renderinginterface/genshi/templates/yadis.xml @ 7292

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDGSecurity/python/ndg_security_server/ndg/security/server/wsgi/openid/provider/renderinginterface/genshi/templates/yadis.xml@7292
Revision 7292, 819 bytes checked in by pjkersha, 10 years ago (diff)

Incomplete - task 12: ESG Yadis identity service discovery

  • Altered Python OpenID Provider adding support for custom XRDS document via Gensho templating. This enables service endpoints other than the default OpenID one to be advertised by the Yadis doc incl. the Attribute Service which is now required for ESG.
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xrds:XRDS xmlns:xrds="xri://$xrds" xmlns="xri://$xrd*($v*2.0)">
3    <XRD>
4        <Service priority="0">
5            <Type>$openid20type</Type>
6            <Type>$openid10type</Type>
7            <URI>$endpoint_url</URI>
8            <LocalID>$user_url</LocalID>
9        </Service>
10    </XRD>
11    <XRD>
12        <Service priority="1">
13            <Type>urn:esg:security:myproxy-service</Type>
14            <URI>socket://myproxy-server.somewhere.ac.uk:7512</URI>
15            <LocalID>$user_url</LocalID>
16        </Service>
17    </XRD>
18    <XRD>
19        <Service priority="20">
20            <Type>urn:esg:security:attribute-service</Type>
21            <URI>https://attributeservice.somewhere.ac.uk</URI>
22            <LocalID>$user_url</LocalID>
23        </Service>
24    </XRD>
25</xrds:XRDS>
Note: See TracBrowser for help on using the repository browser.