- Timestamp:
- 18/08/10 16:40:10 (11 years ago)
- Location:
- TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/config/authorisationservice/authorisation-service.ini
r7330 r7341 21 21 paste.app_factory = ndg.saml.test.binding.soap:TestApp 22 22 23 #______________________________________________________________________________ 24 # SAML/SOAP query interface to the Authorisation Service 23 25 [filter:SAMLSoapAuthzDecisionInterfaceFilter] 24 26 paste.filter_app_factory = ndg.saml.saml2.binding.soap.server.wsgi.queryinterface:SOAPQueryInterfaceMiddleware.filter_app_factory 25 27 prefix = saml. 28 29 # The URI path for this service 26 30 saml.mountPath = /authorisation-service 31 32 # The key name in environ which the upstream authorisation service must assign 33 # to its authorisation query callback 27 34 saml.queryInterfaceKeyName = AUTHZ_DECISION_QUERY_FUNC 35 36 # ElementTree based XML parsing and serialisation used for SAML messages 28 37 saml.deserialise = ndg.saml.xml.etree:AuthzDecisionQueryElementTree.fromXML 29 38 saml.serialise = ndg.saml.xml.etree:ResponseElementTree.toXML 39 40 # Sets the identity of THIS authorisation service when filling in SAML responses 30 41 saml.issuerName = /O=Test/OU=Authorisation Service 31 42 saml.issuerFormat = urn:oasis:names:tc:SAML:1.1:nameid-format:x509SubjectName … … 33 44 #______________________________________________________________________________ 34 45 # Authorisation Service WSGI settings 35 #36 46 [filter:TestAuthorisationServiceFilter] 37 # This filter is a container for a binding to a SOAP based interface to the 38 # Attribute Authority 47 # This filter is a container for a binding to a SOAP/SAML based interface to the 48 # Authorisation Service. It contains a XACML Context handler which manages 49 # requests from Policy Enforcement Points to the PDP and also enables the PDP 50 # to make attribute queries to Policy Information Point 39 51 paste.filter_app_factory = ndg.security.server.wsgi.authz.service:AuthorisationServiceMiddleware.filter_app_factory 40 52 prefix = authz. 41 53 authz.queryInterfaceKeyName = AUTHZ_DECISION_QUERY_FUNC 42 54 55 # Lifetime for authorisation assertions issued from this service 43 56 authz.xacmlContext.assertionLifetime = 86400 44 57 -
TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/full_system/securedapp.ini
r7077 r7341 30 30 pipeline = BeakerSessionFilter 31 31 AuthenticationFilter 32 AuthorizationFilter32 PolicyEnforcementPointFilter 33 33 AuthZTestApp 34 34 … … 81 81 authkit.session.middleware = %(beakerSessionKeyName)s 82 82 83 [filter:AuthorizationFilter] 84 paste.filter_app_factory=ndg.security.server.wsgi.authz:SAMLAuthorizationMiddleware.filter_app_factory 85 prefix = authz. 86 authz.pepResultHandler = ndg.security.server.wsgi.authz.result_handler.genshi.GenshiPEPResultHandlerMiddleware 87 authz.pepResultHandler.staticContentDir = %(here)s/pep_result_handler 88 authz.pepResultHandler.baseURL = http://localhost:7080 89 authz.pepResultHandler.heading = Access Denied 90 authz.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. 91 authz.pepResultHandler.footerText = This site is for test purposes only. 92 authz.pepResultHandler.rightLink = http://ceda.ac.uk/ 93 authz.pepResultHandler.rightImage = %(authz.pepResultHandler.baseURL)s/layout/CEDA_RightButton60.png 94 authz.pepResultHandler.rightAlt = Centre for Environmental Data Archival 95 authz.pepResultHandler.helpIcon = %(authz.pepResultHandler.baseURL)s/layout/icons/help.png 96 97 policy.filePath = %(here)s/policy.xml 83 # 84 # Policy Enforcement Point enforces access control decisions made by the 85 # Authorisation Service 86 [filter:PolicyEnforcementPointFilter] 87 paste.filter_app_factory=ndg.security.server.wsgi.authz.pep:SamlPepFilter.filter_app_factory 88 prefix = pep. 89 pep.sessionKey = beaker.session.ndg.security 90 pep.authzServiceURI = https://localhost:7443/AuthorisationService 98 91 99 92 # Settings for Policy Information Point used by the Policy Decision Point to … … 102 95 103 96 # If omitted, DN of SSL Cert is used 104 p ip.attributeQuery.issuerName =105 p ip.attributeQuery.subjectIdFormat = urn:esg:openid106 p ip.attributeQuery.clockSkewTolerance = 0.107 p ip.attributeQuery.queryAttributes.0 = urn:siteA:security:authz:1.0:attr, , http://www.w3.org/2001/XMLSchema#string108 p ip.attributeQuery.sslCACertDir=%(testConfigDir)s/ca109 p ip.attributeQuery.sslCertFilePath=%(testConfigDir)s/pki/test.crt110 p ip.attributeQuery.sslPriKeyFilePath=%(testConfigDir)s/pki/test.key97 pep.authzDecisionQuery.issuerName = /O=NDG/OU=BADC/CN=test 98 pep.authzDecisionQuery.issuerFormat = urn:oasis:names:tc:SAML:1.1:nameid-format:x509SubjectName 99 pep.authzDecisionQuery.subjectIdFormat = urn:esg:openid 100 pep.authzDecisionQuery.clockSkewTolerance = 0. 101 pep.authzDecisionQuery.sslCACertDir=%(testConfigDir)s/ca 102 pep.authzDecisionQuery.sslCertFilePath=%(testConfigDir)s/pki/test.crt 103 pep.authzDecisionQuery.sslPriKeyFilePath=%(testConfigDir)s/pki/test.key 111 104 112 105 # Logging configuration -
TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/full_system/securityservices.ini
r7337 r7341 460 460 461 461 # These settings configure SSL mutual authentication for the query to the SAML Attribute Authority 462 authz.ctx_handler.pip.attributeQuery.sslCertFilePath = $NDGSEC_TEST_CONFIG_DIR/pki/localhost.crt463 authz.ctx_handler.pip.attributeQuery.sslPriKeyFilePath = $NDGSEC_TEST_CONFIG_DIR/pki/localhost.key464 authz.ctx_handler.pip.attributeQuery.sslCACertDir = $NDGSEC_TEST_CONFIG_DIR/ca462 authz.ctx_handler.pip.attributeQuery.sslCertFilePath = %(testConfigDir)s/pki/localhost.crt 463 authz.ctx_handler.pip.attributeQuery.sslPriKeyFilePath = %(testConfigDir)s/pki/localhost.key 464 authz.ctx_handler.pip.attributeQuery.sslCACertDir = %(testConfigDir)s/ca 465 465 466 466 # Logging configuration
Note: See TracChangeset
for help on using the changeset viewer.