Changeset 7298 for TI12-security/trunk


Ignore:
Timestamp:
06/08/10 16:41:04 (9 years ago)
Author:
pjkersha
Message:

Incomplete - task 2: XACML-Security Integration

  • Working on PIP to make Attribute Service query
Location:
TI12-security/trunk/NDGSecurity/python
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDGSecurity/python/ndg_security_server/ndg/security/server/wsgi/openid/provider/renderinginterface/genshi/templates/yadis.xml

    r7292 r7298  
    2323        </Service> 
    2424    </XRD> 
     25    <XRD> 
     26        <Service priority="30"> 
     27            <Type>urn:esg:security:attribute-service</Type> 
     28            <URI>https://attributeservice.somewheredifferent.ac.uk</URI> 
     29            <LocalID>$user_url</LocalID> 
     30        </Service> 
     31    </XRD> 
     32    <XRD> 
     33        <Service priority="19"> 
     34            <Type>urn:esg:security:attribute-service</Type> 
     35            <URI>https://attributeservice.somewhere.ac.uk</URI> 
     36            <LocalID>$user_url</LocalID> 
     37        </Service> 
     38    </XRD> 
    2539</xrds:XRDS> 
  • TI12-security/trunk/NDGSecurity/python/ndg_security_server/ndg/security/server/xacml/ctx_handler/saml_ctx_handler.py

    r7257 r7298  
    2323    XacmlAttributeValueClassFactory 
    2424from ndg.xacml.parsers.etree.factory import ReaderFactory 
     25 
     26from ndg.security.server.xacml.pip.saml_pip import PIP 
    2527 
    2628 
     
    7981        self.__issuerProxy = _saml.Issuer() 
    8082        self.__assertionLifetime = 0. 
     83         
     84        # Policy Information Point 
     85        self.pip = PIP() 
    8186 
    8287    def _getIssuerFormat(self): 
     
    181186        Matching attributes values are returned 
    182187        """ 
    183         return [] 
     188        return self.pip.query(request, designator) 
    184189     
    185190    def _createXacmlRequestCtx(self, samlAuthzDecisionQuery): 
Note: See TracChangeset for help on using the changeset viewer.