Created
July 30, 2014 16:02
-
-
Save lawlesst/eba25095b5eda160b9b1 to your computer and use it in GitHub Desktop.
Minimum subclass of ShibbolethRemoteUserMiddleware.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from shibboleth.middleware import ShibbolethRemoteUserMiddleware, ShibbolethValidationError | |
class MyAppAuthenticationMiddleware(ShibbolethRemoteUserMiddleware): | |
""" | |
Handle login via Shibboleth and permissions for viewing and | |
editing profiles and resources. | |
""" | |
header = "Shibboleth-localId" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment