Changeset 3771 for TI12-security


Ignore:
Timestamp:
07/04/08 17:37:58 (12 years ago)
Author:
pjkersha
Message:

Perl version of NDG Security Single Sign On Client. Retruns from WAYF
and login + sets encrypted cookie. More work to do handle redirect
https->http.

Location:
TI12-security/trunk
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.common/ndg/security/common/authz/pdp/moles.py

    r3767 r3771  
    105105        paramNames = cfgKw.keys() 
    106106        for paramName in paramNames: 
    107             if paramName in NDGBrowsePDP.defParam: 
     107            if paramName in MolesPDP.defParam: 
    108108                # Keywords are deleted as they are set 
    109109                setattr(self, paramName, cfgKw.pop('paramName')) 
     
    182182 
    183183             
    184         roleElem = self.securityElement.find(NDGBrowsePDP.roleXPathQuery) 
     184        roleElem = self.securityElement.find(MolesPDP.roleXPathQuery) 
    185185        if roleElem is None or not roleElem.text: 
    186186            log.error("PDP: role not set in MOLES security " + \ 
     
    190190        self.reqRole = roleElem.text 
    191191 
    192         aaElem = self.securityElement.find(NDGBrowsePDP.aaXPathQuery) 
     192        aaElem = self.securityElement.find(MolesPDP.aaXPathQuery) 
    193193         
    194194        # Sanity check on Attribute Authority URI 
     
    198198            # Check Attribute Authority address 
    199199            try: 
    200                 NDGBrowsePDP.urlCanBeOpened(aaURI) 
     200                MolesPDP.urlCanBeOpened(aaURI) 
    201201            except URLCannotBeOpened, e: 
    202202                # Catch situation where either Attribute Authority address in the 
     
    333333def makeDecision(resrcHandle, userHandle, accessType=None, **kw): 
    334334    '''One call Wrapper interface to PDP''' 
    335     return NDGBrowsePDP(**kw)(resrcHandle, userHandle) 
     335    return MolesPDP(**kw)(resrcHandle, userHandle) 
    336336 
    337337  
Note: See TracChangeset for help on using the changeset viewer.