Ignore:
Timestamp:
19/12/08 16:39:57 (11 years ago)
Author:
pjkersha
Message:

Refactoring of SSO service to enable use of local AA and SM instances via keys to environ.

Location:
TI12-security/trunk/python/ndg.security.server/ndg/security/server/zsi/sessionmanager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/zsi/sessionmanager/SessionManager_services_server.py

    r4480 r4692  
    7272                    <xsd:element maxOccurs=\"1\" minOccurs=\"0\" name=\"userX509Cert\" type=\"xsd:string\"/> 
    7373                    <xsd:element maxOccurs=\"1\" minOccurs=\"0\" name=\"sessID\" type=\"xsd:string\"/> 
    74                     <xsd:element maxOccurs=\"1\" minOccurs=\"0\" name=\"attAuthorityURI\" type=\"xsd:string\"/> 
     74                    <xsd:element maxOccurs=\"1\" minOccurs=\"0\" name=\"attributeAuthorityURI\" type=\"xsd:string\"/> 
    7575                    <xsd:element maxOccurs=\"1\" minOccurs=\"0\" name=\"reqRole\" type=\"xsd:string\"/> 
    7676                    <xsd:element maxOccurs=\"1\" minOccurs=\"1\" name=\"mapFromTrustedHosts\" type=\"xsd:boolean\"/> 
     
    269269    def soap_getAttCert(self, ps): 
    270270        self.request = ps.Parse(getAttCertInputMsg.typecode) 
    271         parameters = (self.request._userX509Cert, self.request._sessID, self.request._attAuthorityURI, self.request._reqRole, self.request._mapFromTrustedHosts, self.request._rtnExtAttCertList, self.request._extAttCert, self.request._extTrustedHost) 
     271        parameters = (self.request._userX509Cert, self.request._sessID, self.request._attributeAuthorityURI, self.request._reqRole, self.request._mapFromTrustedHosts, self.request._rtnExtAttCertList, self.request._extAttCert, self.request._extTrustedHost) 
    272272 
    273273        # If we have an implementation object use it 
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/zsi/sessionmanager/__init__.py

    r4680 r4692  
    190190        # If no Attribute Authority URI is set pick up local Attribute  
    191191        # instance Authority 
    192         if request.AttAuthorityURI is None: 
     192        if request.AttributeAuthorityURI is None: 
    193193            attributeAuthorityFilter = \ 
    194194                self.referencedWSGIFilters.get(self.attributeAuthorityFilterID) 
    195195                 
    196196            try: 
    197                 attributeAuthority = \ 
    198                     attributeAuthorityFilter.serviceSOAPBinding.aa 
     197                attributeAuthority= \ 
     198                                attributeAuthorityFilter.serviceSOAPBinding.aa 
    199199            except AttributeError, e: 
    200200                raise SessionManagerWSConfigError("No Attribute Authority URI " 
     
    210210                            userX509Cert=userX509Cert or request.UserX509Cert, 
    211211                            sessID=request.SessID, 
    212                             attributeAuthorityURI=request.AttAuthorityURI, 
     212                            attributeAuthorityURI=request.AttributeAuthorityURI, 
    213213                            attributeAuthority=attributeAuthority, 
    214214                            reqRole=request.ReqRole, 
Note: See TracChangeset for help on using the changeset viewer.