--- loncom/loncapa_apache.conf 2012/02/28 15:14:25 1.211 +++ loncom/loncapa_apache.conf 2012/03/06 00:53:51 1.213 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.211 2012/02/28 15:14:25 raeburn Exp $ +## $Id: loncapa_apache.conf,v 1.213 2012/03/06 00:53:51 raeburn Exp $ ## # @@ -52,6 +52,12 @@ PerlCleanupHandler Apache::lonacc::clean PerlAuthenHandler Apache::checkauthen PerlSetVar lonOtherAuthen no + + PerlAuthenHandler Apache::lonshibauth + PerlSetVar lonOtherAuthen yes + PerlSetVar lonOtherAuthenType Shibboleth + + #PerlWarn On PerlAuthenHandler 'sub { return OK }' @@ -663,6 +669,21 @@ SetHandler perl-script PerlHandler Apache::migrateuser + + + AuthType shibboleth + ShibUseEnvironment On + ShibRequestSetting requireSession 1 + ShibRequestSetting redirectToSSL 443 + require valid-user + PerlAuthzHandler Apache::lonshibacc + PerlAuthzHandler Apache::lonacc + + + PerlTypeHandler Apache::lonnoshib + + + AuthType LONCAPA Require valid-user