Changeset 405


Ignore:
Timestamp:
29/04/05 16:49:01 (15 years ago)
Author:
pjkersha
Message:

XML file holds Attribute Authority settings used by
AttrAuthority? class.

Location:
security/trunk/python
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • security/trunk/python/NDG.BAK/AttAuthority.py

    r404 r405  
    179179 
    180180 
     181            # Check it's an original certificate - mapped certificates can't 
     182            # be used to make further mappings 
     183            if extAttrCert.isMapped(): 
     184                raise "External Attribute Certificate must have an " + \ 
     185                      "original provenance in order to make further mappings." 
     186 
     187 
    181188            # Check it's valid and signed 
    182189            try: 
     
    189196 
    190197 
    191             # Check it's an original certificate - mapped certificates can't 
    192             # be used to make further mappings 
    193             if extAttrCert.isMapped(): 
    194                 raise "External Attribute Certificate must have an " + \ 
    195                       "original provenance in order to make further mappings." 
    196  
     198            # Check that's it's holder value matches the user certificate DN 
     199            # TODO: 
     200            # P J Kershaw 29/04/05 
     201             
    197202   
    198203            # Get roles from external Attribute Certificate 
  • security/trunk/python/NDG/AttAuthority.py

    r404 r405  
    179179 
    180180 
     181            # Check it's an original certificate - mapped certificates can't 
     182            # be used to make further mappings 
     183            if extAttrCert.isMapped(): 
     184                raise "External Attribute Certificate must have an " + \ 
     185                      "original provenance in order to make further mappings." 
     186 
     187 
    181188            # Check it's valid and signed 
    182189            try: 
     
    189196 
    190197 
    191             # Check it's an original certificate - mapped certificates can't 
    192             # be used to make further mappings 
    193             if extAttrCert.isMapped(): 
    194                 raise "External Attribute Certificate must have an " + \ 
    195                       "original provenance in order to make further mappings." 
    196  
     198            # Check that's it's holder value matches the user certificate DN 
     199            # TODO: 
     200            # P J Kershaw 29/04/05 
     201             
    197202   
    198203            # Get roles from external Attribute Certificate 
Note: See TracChangeset for help on using the changeset viewer.