Ignore:
Timestamp:
07/01/10 14:12:08 (11 years ago)
Author:
pjkersha
Message:

Working Genshi PEP result handler plugin

Location:
TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/authz_lite
Files:
14 added
2 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/authz_lite/securedapp.ini

    r6063 r6271  
    7878paste.filter_app_factory=ndg.security.server.wsgi.authz:SAMLAuthorizationMiddleware.filter_app_factory 
    7979prefix = authz. 
     80authz.pepResultHandler = ndg.security.server.wsgi.authz.result_handler.genshi.GenshiPEPResultHandlerMiddleware 
     81authz.pepResultHandler.staticContentDir = %(here)s/pep_result_handler 
     82authz.pepResultHandler.baseURL = http://localhost:7080 
     83authz.pepResultHandler.heading = Access Denied 
     84authz.pepResultHandler.messageTemplate = Access is forbidden for this resource:<div id="accessDeniedMessage">$pdpResponseMsg</div>Please check with your site administrator that you have the required access privileges. 
     85authz.pepResultHandler.footerText = This site is for test purposes only. 
     86authz.pepResultHandler.rightLink = http://ceda.ac.uk/ 
     87authz.pepResultHandler.rightImage = %(authz.pepResultHandler.baseURL)s/layout/CEDA_RightButton60.png 
     88authz.pepResultHandler.rightAlt = Centre for Environmental Data Archival 
     89authz.pepResultHandler.helpIcon = %(authz.pepResultHandler.baseURL)s/layout/icons/help.png 
     90 
    8091policy.filePath = %(here)s/policy.xml 
    8192 
  • TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/authz_lite/securityservices.ini

    r6260 r6271  
    3535port = %(portNum)s 
    3636 
    37 [filter-app:OpenIDProviderFilterApp] 
    38 use = egg:Paste#httpexceptions 
    39 next = cascade 
    40  
    41 # Composite for OpenID Provider to enable settings for picking up static  
    42 # content 
    43 [composit:cascade] 
    44 use = egg:Paste#cascade 
    45 app1 = OpenIDProviderStaticContent 
    46 app2 = OpenIDProviderApp 
    47 catch = 404 
    48  
    49 [app:OpenIDProviderStaticContent] 
    50 use = egg:Paste#static 
    51 document_root = %(here)s/openidprovider 
     37# Provider borrows content from RP static content dir so the cascade is not 
     38# needed(!) 
     39#[filter-app:OpenIDProviderFilterApp] 
     40#use = egg:Paste#httpexceptions 
     41#next = cascade 
     42# 
     43## Composite for OpenID Provider to enable settings for picking up static  
     44## content 
     45#[composit:cascade] 
     46#use = egg:Paste#cascade 
     47#app1 = OpenIDProviderStaticContent 
     48#app2 = OpenIDProviderApp 
     49#catch = 404 
     50# 
     51#[app:OpenIDProviderStaticContent] 
     52#use = egg:Paste#static 
     53#document_root = %(here)s/openidprovider 
    5254 
    5355# Ordering of filters and app is critical 
Note: See TracChangeset for help on using the changeset viewer.