this relates to orchestrator, cron, etc and other pages that need anonymous access without redirect to pass through authentication.

Comments

johnbarclay’s picture

Priority: Normal » Major
Issue tags: +D7 stable release blocker
johnbarclay’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
coofercat’s picture

+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.

johnbarclay’s picture

I 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.

grahl’s picture

Project: Lightweight Directory Access Protocol » LDAP Single Sign On
Version: 7.x-2.x-dev » 8.x-1.x-dev
Component: SimpleTests » Code
Priority: Major » Minor
Issue summary: View changes

Review if still relevant for 8

grahl’s picture

Status: Active » Closed (duplicate)