summaryrefslogtreecommitdiff
path: root/example
Commit message (Collapse)AuthorAgeFilesLines
* fix escape not in cgi for newer pythonsrakvat2020-05-081-2/+8
|
* Update saml_uri.pybenjaminbecker2019-08-221-2/+2
| | | | According to https://tools.ietf.org/html/rfc2985 the urn for emailAddress has to be `1.2.840.113549.1.9.1`. In saml_uri.py this is not implemented correctly. The current version uses `PKCS_9+'1'` which equals to `1.2.840.113549.1.9.1.1`. This can be fixed by deleting the trailing '1.' from line 8. This should not cause any side-effects, because the variable `PKCS_9` in combination with `+'1'`.
* Explicit cherrypy requirements for the example applicationStavros Ntentos2019-05-281-1/+1
| | | | | | | Unless you are pulling always from https://pypi.org/simple, it is possible that you might get an older version of `cherrypy`. Make sure we request a "relatively recent" version. `pip install 'CherryPy>14.0.2,<15'` gave `CherryPy-14.2.0` which works
* Introduce middleware to convert data to bytesIvan Kanakarakis2019-04-011-8/+23
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Handle eduPersonTargetedID as a single value on examplesIvan Kanakarakis2019-03-181-2/+2
| | | | 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>
* Make example idp compatible with python3Ivan Kanakarakis2018-11-201-7/+24
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Indent and format codeIvan Kanakarakis2018-11-202-298/+359
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Restore idp.py codeIvan Kanakarakis2018-11-201-53/+21
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* [Need help] Fix IdP example to work with python 3Egor Panfilov2018-11-192-23/+55
|
* Replace string literals with MIME_PAOSEgor Panfilov2018-11-191-1/+3
|
* Fixed Unicode-objects must be encoded before hashing bugYuqing2018-11-101-1/+1
|
* Remove gitignore from subdirectoriesIvan Kanakarakis2018-07-041-9/+0
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Merge pull request #398 from qianlei90/masterIvan Kanakarakis2018-02-121-2/+2
|\ | | | | fix example idp - use default value for path parameter in idp service
| * fix(example): using a default value to -p parameter in idp serviceQian Lei2017-03-161-2/+2
| | | | | | | | | | | | | | | | | | No configuration file is specified when we start idp service without -p parameter and the value of args.path will be None in function metadata and staticfile, which can not be used in list comprehension and startwith function. Signed-off-by: Qian Lei <qianlei90@gmail.com>
* | Do not request a signed response - backwards compatibilityIvan Kanakarakis2018-02-121-0/+1
| |
* | Fix wsgiserver usage for example spIvan Kanakarakis2018-02-121-6/+9
| |
* | Fix examlpes using cherrypy.wsgiserverIvan Kanakarakis2017-11-151-3/+8
| |
* | example/sp-wsgi/sp.py: respond with bytes (enhance WSGI compliance)Jan-Philip Gehrcke2016-10-141-8/+8
|/
* Use six instead of futures for PY3 compatibility.Rebecka Gulliksson2016-09-231-9/+4
|
* Fixed cookie load problemRoland Hedberg2016-09-221-4/+7
|
* Made it work better with Python3.5Roland Hedberg2016-05-172-8/+14
|
* 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.
* fix #308: make all.sh and sp-wsgi examples work againArne Neumann2016-01-291-0/+3
|
* Show AuthnStatement together with all attributes on result page.Rebecka Gulliksson2016-01-151-13/+23
|
* Clean upRoland Hedberg2015-12-201-2/+0
|
* Reworked the security backend so you should now be able to use a HSM again ↵Roland Hedberg2015-12-113-3/+10
| | | | for XML security. Support for non-XML crypto using HSMs are on the way.
* Merge branch 'master' of github.com:rohe/pysaml2Roland Hedberg2015-12-113-72/+81
|\
| * 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.
| * Made service_conf.py an example file to avoid conflicts with local copy.Rebecka Gulliksson2015-12-101-0/+0
| |
| * Adds some attributes to the IdP user 'testuser'.Rebecka Gulliksson2015-12-101-8/+10
| |
| * Only use six and make sure the cookie can be read.Rebecka Gulliksson2015-11-231-6/+3
| |
* | Made MetaData instances pickleable.Roland Hedberg2015-12-011-2/+2
|/
* Merge remote-tracking branch 'upstream/master'Hans Hörberg2015-11-193-10/+24
|\ | | | | | | | | | | # Conflicts: # setup.py # src/saml2/server.py
| * Check for logoutRoland Hedberg2015-11-151-2/+13
| |
| * Corrected attribute name: email -> mail.Roland Hedberg2015-11-151-1/+1
| |
| * RelayState may be missing.Roland Hedberg2015-11-151-7/+10
| |
* | Merge remote-tracking branch 'upstream/master'Hans Hörberg2015-11-065-204/+206
|\ \ | |/ | | | | | | | | | | # Conflicts: # src/saml2/entity.py digest algorithm added to the same functions as sign alg.
| * PEP-8 formattingRoland Hedberg2015-11-011-3/+2
| |
| * 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-155-200/+200
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Added configuration so the test idp can change sign and digest algorithm.Hans Hörberg2015-11-062-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | If SIGN_ALG = None DIGEST_ALG = None in service_conf sha1 will be used.
* | | 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-062-1/+9
|/ / | | | | | | | | | | | | | | | | If SIGN_ALG = None DIGEST_ALG = None in service_conf sha1 will be used.
* | Added some testdata.Hans Hörberg2015-10-141-0/+3
| |