jerrcs / simplesamlphp

Automatically exported from code.google.com/p/simplesamlphp
Other
0 stars 0 forks source link

The Drupal Module "drupalauth4ssp" does not work with Drupal 6 (user hooks not triggered) #589

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The Drupal Module "drupalauth4ssp" does not work with Drupal 6 (user hooks not 
triggered).
To make it work a new "hook" function drupalauth4ssp_user(...) needs to be 
added to 
simplesamlphp/modules/drupalauth/drupal_module/drupalauth4ssp/drupalauth4ssp.mod
ule .
The user hook functions in drupalauth4ssp.module are only triggered in Drupal 
7, but are not triggered in Drupal 6.
drupalauth4ssp_user(...) provides the equivalent functionality for Drupal 6. 
Since the "user" hook does not seem to be triggered in Drupal 7, it does not 
seem to be an issue to leave that function in the Drupal 7 version (in other 
words it would seem that the module with that function added will work with 
both Drupal 6 and 7).

Attached is an updated drupalauth4ssp.module and, as an alternative, a patch 
"drupalauth4ssp.module.patch" to apply the change.

Alan Barrett

Original issue reported on code.google.com by alanabar...@gmail.com on 4 Nov 2013 at 3:24

Attachments:

GoogleCodeExporter commented 8 years ago
I have now reported the issue to http://code.google.com/p/drupalauth/ as 
suggested by the comment to Issue #590 
(https://code.google.com/p/simplesamlphp/issues/detail?id=590#c1 ).

Alan.

Original comment by alanabar...@gmail.com on 4 Nov 2013 at 4:42

GoogleCodeExporter commented 8 years ago

Original comment by jaim...@gmail.com on 6 Nov 2013 at 10:14