Changeset 419


Ignore:
Timestamp:
09/06/05 17:57:12 (14 years ago)
Author:
pjkersha
Message:

attrAuthorityProperties: added setting for attribute certificate file
name prefix and suffix for when stored in Attribute Authority audit
directory.

attrAuthorityServer: modified so that user proxy certificate is input to
AttrAuthority?.createAttrCert() as text.

Location:
security/trunk/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • security/trunk/python/AttAuthorityServer.py

    r416 r419  
    3333    response = reqAuthorisationResponseWrapper() 
    3434 
    35     # Write input proxy cert string to file for input into AttrAuthority 
    36     # interface 
    37     (fhTmpUsrProxyCert, tmpUsrProxyCertFilePath) = tempfile.mkstemp() 
    38     os.write(fhTmpUsrProxyCert, usrProxyCert) 
    3935     
    4036    # Request a new attribute certificate from the Attribute Authority 
    4137    try: 
    4238        try: 
    43             attrAuthority.createAttrCert(tmpUsrProxyCertFilePath, 
     39            attrAuthority.createAttrCert(usrProxyCertFileTxt=usrProxyCert, 
    4440                                         extAttrCertFileTxt=usrAttrCert) 
    4541            response._status = "Access granted" 
  • security/trunk/python/attAuthorityProperties.xml

    r413 r419  
    99    <!-- Time is in seconds --> 
    1010    <attrCertLifeTime>172800</attrCertLifeTime> 
     11    <attrCertFilePfx>attrCert-</attrCertPfx> 
     12    <attrCertSfx>.xml</attrCertSfx> 
    1113    <mapConfigFile>./mapConfig.xml</mapConfigFile> 
    1214    <attrCertDir>./attrCert</attrCertDir> 
Note: See TracChangeset for help on using the changeset viewer.