source: TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/authz_lite/README @ 7077

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/authz_lite/README@7077
Revision 7077, 1.4 KB checked in by pjkersha, 9 years ago (diff)
  • Property svn:keywords set to Id
Line 
1Integration Tests to test NDG Authorisation without a Session Manager
2=====================================================================
3In the authz integration test parallel to this directory, a Session Manager is
4included in the security services paster application.  This service caches
5security credentials for efficiency.  It is queried by the
6AuthorizationFilter's Policy Information Point in order to retrieve user
7attribute certificates.  In this configuration, the PIP contacts the
8Attribute Authority directly to retrieving Attribute Certificates rather than
9going via the Session Manager intermediary.  This simplifies the configuration
10but with a possible performance penalty.
11
12To run,
13
14$ python securedapp.py
15
16...and in another terminal:
17
18$ python securityservicesapp.py
19
20Launch a browser and go to http://localhost:7080.  This displays a page with a
21list of links.  Each link tests out a different aspect of the authorisation
22system.  The OpenID login will be triggered if a link requires authentication,
23select go with the default URL set of, "http://localhost:7443/openid".  When
24prompted for a username and password, enter pjk/testpassword
25respectively.
26
27The links are secured with the policy file, policy.xml.  User attributes are
28determined by the Attribute Authority configuration set in
29ndg.security.test.config.attributeauthority.sitea.siteAUserRoles
30
31P J Kershaw 19/05/09
Note: See TracBrowser for help on using the repository browser.