diff --git a/manual/deploy/shibboleth_config.md b/manual/deploy/shibboleth_config.md index 50f66ab4..e924c84d 100644 --- a/manual/deploy/shibboleth_config.md +++ b/manual/deploy/shibboleth_config.md @@ -118,10 +118,17 @@ Add the following configuration to seahub_settings.py. EXTRA_AUTHENTICATION_BACKENDS = ( 'shibboleth.backends.ShibbolethRemoteUserBackend', ) + +# for 7.1 and below EXTRA_MIDDLEWARE_CLASSES = ( 'shibboleth.middleware.ShibbolethRemoteUserMiddleware', ) +# for 8.0 and above +EXTRA_MIDDLEWARE = ( + 'shibboleth.middleware.ShibbolethRemoteUserMiddleware', +) + ENABLE_SHIB_LOGIN = True SHIBBOLETH_ATTRIBUTE_MAP = {