Changeset 1183


Ignore:
Timestamp:
14/06/06 22:09:43 (13 years ago)
Author:
lawrence
Message:

Support for the new hostinfo call in security

Location:
TI07-MOLES/trunk/StubB/XSLT/browse/portal/cgi/browse
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/StubB/XSLT/browse/portal/cgi/browse/browse.config.glue

    r1171 r1183  
    99#jarLoc:         returnstubb.jar 
    1010#javaBinary:     java 
     11searchWSDL:     http://superglue.badc.rl.ac.uk/exist/services/Discovery?WSDL 
    1112 
    1213[db] 
  • TI07-MOLES/trunk/StubB/XSLT/browse/portal/cgi/browse/secure.py

    r1164 r1183  
    104104                 
    105105                AA=AttAuthorityClient(aaWSDL=parsedSimpleCondition[1]) 
     106                hostInfo = AA.getHostInfo() 
     107                loginHostList=[] 
     108                for key in hostInfo: 
     109                    loginHostList.append((key,hostInfo[key]['loginURI'])) 
    106110                trustedHostDict=AA.getTrustedHostInfo(role=parsedSimpleCondition[0]) 
    107                 loginHostList=[] 
    108111                for key in trustedHostDict: 
    109112                    loginHostList.append((key,trustedHostDict[key]['loginURI'])) 
Note: See TracChangeset for help on using the changeset viewer.