Changeset 6598


Ignore:
Timestamp:
19/02/10 15:02:06 (9 years ago)
Author:
pjkersha
Message:

Renamed PIP modules to avoid ndg name clash.

Location:
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/pip
Files:
2 moved

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/pip/esginterface.py

    r6597 r6598  
    1414log = logging.getLogger(__name__) 
    1515 
     16from os import path 
     17from ConfigParser import ConfigParser 
     18 
     19from ndg.security.common.utils.configfileparsers import \ 
     20                                            CaseSensitiveConfigParser 
    1621from ndg.security.common.saml_utils.attributeQuery import \ 
    1722                                            AttributeQuerySslSOAPBinding 
    1823from ndg.security.common.X509 import X509Cert 
    19 from ndg.security.common.authz import SubjectBase 
     24from ndg.security.common.authz import Subject 
    2025from ndg.security.common.authz.pip import (PIPBase, PIPAttributeQuery,  
    2126                                           PIPAttributeResponse) 
    22  
    23  
    24 class Subject(SubjectBase): 
    25     """Container for information about the subject of the query""" 
    2627     
    2728 
     
    3839    def __init__(self): 
    3940        '''Initialise settings for connection to an Attribute Authority''' 
    40         self.__attributeQueryBinding = None 
    41      
    42     def parse(self, prefix='', **cfg): 
    43         self.__attributeQueryBinding = AttributeQuerySslSOAPBinding() 
    44          
     41        self.__attributeQueryBinding = None        
    4542 
    4643    @classmethod 
  • TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/pip/ndginterface.py

    r6597 r6598  
    4141class Subject(SubjectBase): 
    4242    '''Subject designator''' 
    43     namespaces = ( 
    44         "urn:ndg:security:authz:1.0:attr:subject:userId", 
     43    namespaces = SubjectBase.namespaces + ( 
    4544        "urn:ndg:security:authz:1.0:attr:subject:sessionId", 
    4645        "urn:ndg:security:authz:1.0:attr:subject:sessionManagerURI", 
    47     ) + SubjectBase.namespaces 
    48     (USERID_NS, SESSIONID_NS, SESSIONMANAGERURI_NS, ROLES_NS) = namespaces 
     46    ) 
     47    (USERID_NS, ROLES_NS, SESSIONID_NS, SESSIONMANAGERURI_NS) = namespaces 
    4948 
    5049     
Note: See TracChangeset for help on using the changeset viewer.