summaryrefslogtreecommitdiff
path: root/example/sp-wsgi/sp.py
Commit message (Collapse)AuthorAgeFilesLines
* Run flynt -tc + black + isortAarni Koskela2022-11-151-1/+1
|
* Run flynt + black + isortAarni Koskela2022-11-151-21/+21
|
* Run autoflake --remove-all-unused-imports --ignore-init-module-imports + ↵Aarni Koskela2022-11-151-3/+0
| | | | black + isort
* Run pyupgrade --py36-plus + black + isortAarni Koskela2022-11-151-22/+21
|
* Format code with black and isortIvan Kanakarakis2022-10-011-70/+34
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* fix escape not in cgi for newer pythonsrakvat2020-05-081-2/+8
|
* Introduce middleware to convert data to bytesIvan Kanakarakis2019-04-011-8/+23
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Fix metadata endpoint on sp-wsgi exampleIvan Kanakarakis2019-03-181-1/+1
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Fix examples python3 compatibilityIvan Kanakarakis2019-02-041-1/+3
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Make example sp compatible with python3Ivan Kanakarakis2018-11-201-3/+11
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Indent and format codeIvan Kanakarakis2018-11-201-128/+155
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Replace string literals with MIME_PAOSEgor Panfilov2018-11-191-1/+3
|
* Fix wsgiserver usage for example spIvan Kanakarakis2018-02-121-6/+9
|
* example/sp-wsgi/sp.py: respond with bytes (enhance WSGI compliance)Jan-Philip Gehrcke2016-10-141-8/+8
|
* Deal with entity category (CoCo) that have more complex evaluation rules.Roland Hedberg2016-05-161-1/+6
|
* Added functionality needed by the saml2test tool.Roland Hedberg2016-04-161-14/+23
|
* add_header method and returning a byte string.Roland Hedberg2016-04-111-15/+6
| | | | | Fixed some PY3 problems service_per_endpoint method useful when setting up an entity instance.
* Show AuthnStatement together with all attributes on result page.Rebecka Gulliksson2016-01-151-13/+23
|
* Updates the example SP.Rebecka Gulliksson2015-12-101-59/+69
| | | | | | * Asks for persistent name id. * Supports specifying the service_conf.py file as cmdline param. * Formatted code.
* Only use six and make sure the cookie can be read.Rebecka Gulliksson2015-11-231-6/+3
|
* Merge remote-tracking branch 'upstream/master'Hans Hörberg2015-11-191-2/+13
|\ | | | | | | | | | | # Conflicts: # setup.py # src/saml2/server.py
| * Check for logoutRoland Hedberg2015-11-151-2/+13
| |
* | Merge remote-tracking branch 'upstream/master'Hans Hörberg2015-11-061-32/+35
|\ \ | |/ | | | | | | | | | | # Conflicts: # src/saml2/entity.py digest algorithm added to the same functions as sign alg.
| * Merge pull request #269 from helmus/SimpleCookie-import-fallbackRoland Hedberg2015-10-151-1/+4
| |\ | | | | | | Add fallback for SimpleCookie import
| | * Add fallback for SimpleCookie importWillem D'Haeseleer2015-10-131-1/+4
| | |
| * | Fix paramter passing in logging messagesJozef Knaperek2015-10-151-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | Pass parameters into logger calls directly instead of pre-merging with the logger message. This way the logs are easier to maintain and process. The code is also faster when logging is turned off since it doesn't have to evaluate all params and render them into strings.
* | | Changed the sp to accept config files without sign and digest configurations.Hans Hörberg2015-11-061-2/+11
| | |
* | | Added configuration so the test sp can change sign and digest algorithm.Hans Hörberg2015-11-061-0/+3
|/ / | | | | | | | | | | | | | | | | If SIGN_ALG = None DIGEST_ALG = None in service_conf sha1 will be used.
* | Merge remote-tracking branch 'upstream/master'Hans Hörberg2015-10-131-1/+0
|\ \ | |/
| * Merge branch 'roland_master' into example_updatesMathias Hedström2015-10-061-3/+5
| |\
| * | Updated sp example to work with phantomJSMathias Hedström2015-10-011-1/+0
| | |
* | | Fix for python 3Hans Hörberg2015-10-131-2/+2
| |/ |/|
* | PY3&PY2 thingRoland Hedberg2015-09-071-3/+5
|/
* xmldsig part of saml2Roland Hedberg2015-07-151-1/+1
|
* Improve support for SigAlg usage in HTTP redirect.Roland Hedberg2015-06-271-3/+5
|
* New metadata configuration for encryption.Hans Hörberg2015-06-021-0/+31
|
* Fix to use the correct Extensions element.Hans Hörberg2015-05-261-1/+1
|
* Fix python3 syntax errorsClint Byrum2015-05-151-9/+10
| | | | | Retains python2.7 compatibility for all files. Fixes only syntax errors, tests still fail on python3 for various reasons.
* Fix so the wsgi SP follows PEFIM.Hans Hörberg2015-04-221-3/+25
|
* Example SP: Fix failed auth redirectLumi Pakkanen2015-03-301-1/+1
| | | | In case of an error during `SSO.redirect_to_auth` return the response unstarted.
* Print if HTTPS on start up.Roland Hedberg2014-12-011-1/+3
|
* add support for logging out to example/sp-wsgiErick Tryzelaar2014-11-031-21/+119
|
* Fixed so it works with the SP only supporting HTTP-Redirect binding.Roland Hedberg2014-06-181-18/+12
|
* Change examples to bind to 127.0.0.1 by default.Hank Leininger2014-04-021-2/+3
| | | | | | | | | | | | | Since the README already says to point a browser at localhost, it was surprising to see the listeners bound to 0.0.0.0 by default. Changed that and added notes in README about how to change it if the user really wants to make a test listener accessible externally. Updated output messages during startup to include the bound IP, to make this more obvious. Added a missing EOL or two.
* Faulty referenceRoland Hedberg2014-04-021-1/+1
|
* Various spelling/grammar tweaks and typo fixes.Hank Leininger2014-04-021-3/+3
| | | | | | | | | | | | | Usually just a word or punctuation; occasionally I rewrote a sentence if I had a hard time determining what was meant by the original. (N.B. if I misunderstood something, then my re-wording will be wrong!) Also added eol to many files that were missing it, which throws off 'cat somefile' at a shell prompt (but did not yet touch anything under src/, which also has many files without eol). I did not re-line-wrap the text I changed, so that the diffs are minimized and meaningful changes are easier to spot.
* Methods creating request changed to return a tuple consisting of request id ↵Roland Hedberg2014-03-201-1/+1
| | | | and request.
* Refactored class methodsRoland Hedberg2014-03-081-1/+1
|
* Added example SP not using repoze.who .Roland Hedberg2014-03-071-0/+740