Author: jfthomps
Date: Mon Feb 20 21:30:49 2012
New Revision: 1291452
URL: http://svn.apache.org/viewvc?rev=1291452&view=rev
Log:
VCL-438
allow new users to be added to VCL when shibboleth authentication is used
without LDAP
added commented out section of 4 lines for setting up $affilValFunc,
$addUserFunc, and $updateUserFunc for shibboleth affiliations where it is
desired to be able to add users without validating them against LDAP
Modified:
incubator/vcl/trunk/web/.ht-inc/conf-default.php
Modified: incubator/vcl/trunk/web/.ht-inc/conf-default.php
URL:
http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/conf-default.php?rev=1291452&r1=1291451&r2=1291452&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/conf-default.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/conf-default.php Mon Feb 20 21:30:49 2012
@@ -150,6 +150,11 @@ foreach($authMechs as $key => $item) {
$updateUserFunc[$item['affiliationid']] = create_function('',
'return 0;');
}
}
+# if adding a Shibboleth option, uncomment the following 4 lines and change
'4' to match the affiliation id, create additional entries for further
shibboleth affiliations
+#$affilValFunc[4] = create_function('', 'return 1;');
+#$addUserFunc[4] = 'addShibUserStub';
+#$addUserFuncArgs[4] = 4;
+#$updateUserFunc[4] = create_function('', 'return NULL;');
# any affiliation that is shibboleth authenticated without a corresponding
# LDAP server needs an entry in addUserFunc