Closed (duplicate)
Project:
LDAP Single Sign On
Version:
8.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Dec 2011 at 05:43 UTC
Updated:
20 Aug 2017 at 10:02 UTC
Jump to comment: Most recent
Comments
Comment #1
johnbarclay commentedComment #2
johnbarclay commentedComment #3
coofercat commented+1 for this.
If someone cares to explain what the changes required are, I might be able work on a patch. I'd really like SSO and some anonymous pages - at the moment I'm just going to disable SSO.
Comment #4
johnbarclay commentedI believe 2 simpletests would be as follows:
- enable sso
- set whatever $_SERVER and $_SESSION variables you expect the server to set via SSO modules like mod kerb
- request a page and make sure the edit tab or other indicator of an authenticed user exists
- clear whatever $_SERVER and $_SESSION variables you expect the server to set via SSO modules like mod kerb
- request a page make sure there is no indicator that logon is needed.
I would clone testMixedModeUserLogon() in ldap_authentication/tests/ldap_authenticationv2.test for a starting point.
Feel free to add any helper functions to ldapServerTestv2 or LdapTestFunctionsv2; they are more useful their for integration tests.
Comment #5
grahlReview if still relevant for 8
Comment #6
grahl