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