mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
Update shibboleth_config.md
This commit is contained in:
parent
0ddcdc0b8c
commit
463cc4b981
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue