summaryrefslogtreecommitdiff
path: root/src/saml2/mongo_store.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove assignment for function with no returnIvan Kanakarakis2020-05-121-1/+1
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Replace mongodb operation insert with inster_oneIvan Kanakarakis2019-12-261-3/+3
| | | | | | | | | | Fixes deprecation warning: """ DeprecationWarning: insert is deprecated. Use insert_one or insert_many instead. """ Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Merge pull request #617 from SUNET/eduid-mongodb_timestampsIvan Kanakarakis2019-05-141-0/+4
|\ | | | | Add timestamps for ident mongodb documents
| * add created_at timestamps to all mongodb documentsFredrik Thulin2019-05-141-0/+4
| |
* | Format codeIvan Kanakarakis2019-05-141-4/+7
| | | | | | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* | implement match_local_idFredrik Thulin2019-05-081-0/+16
|/ | | | | Implement MongoDB version of function to look for an existing persistent NameId for a user.
* Fix deprecation and resource warnings.Ivan Kanakarakis2018-08-021-4/+0
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* No more references to ontsRoland Hedberg2015-12-111-2/+2
|
* Made MetaData instances pickleable.Roland Hedberg2015-12-011-28/+14
|
* Fix paramter passing in logging messagesJozef Knaperek2015-10-151-1/+1
| | | | | | | | 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.
* Fix bytes/strings logical issuesClint Byrum2015-05-211-4/+4
| | | | | Hashes, and other calls, require bytes or strings in python3 where they were different in python 2.x.
* Use six.string_types instead of basestringClint Byrum2015-05-151-4/+5
| | | | | | | In python3 strings are different, so basestring isn't available anymore. While examining these uses, all of them still work fine with six.string_types and should not need any new special handling to deal with bytes.
* Moved s2repoze, xmkdsig and xmlenc under saml2.Roland Hedberg2015-05-151-2/+2
| | | | Fixed bug in mdstore.MetadataStore in handling external metadata using the new config format.
* MetaData redesignedtpazderka2014-12-101-3/+3
| | | | | | | | | | | | Added base class MetaData that defines common interface for any MetaData handling class. MetaDataStore can now use arbitrary class for Metadata handling. The Metadata specification in settings has changed: 'metadata': [ {"class": "full.path.to.metadata.class", "metadata": [(tupple, with, loader, arguments)]}, ]
* Ensures kwargs compatibility with ident.find_nameid method.Florent2014-02-271-1/+2
|
* Oops, typo in last commit.Fredrik Thulin2013-09-191-1/+1
|
* Fix searching for non-primary-key values.Fredrik Thulin2013-09-191-4/+4
| | | | | Make sure keyword arguments to get() and remove() are not interpreted as Value not being None.
* Use same parameters.Roland Hedberg2013-06-191-4/+2
|
* Merge branch 'master' of github.com:rohe/pysaml2Roland Hedberg2013-06-131-5/+8
|\
| * _mdb_get_database: Restore 'uri is db name' functionality.Fredrik Thulin2013-06-111-5/+8
| | | | | | | | | | | | Forgot to run the test suite after the last round of changes :(. On the good side, this commit should actually restore backwards compatibility with previous MongoDB support.
| * _mdb_get_database: don't require tuple for URIFredrik Thulin2013-06-111-21/+25
| |
| * Improve MongoDB support.Fredrik Thulin2013-06-111-15/+56
| | | | | | | | | | | | | | | | | | | | * Support configuration with MongoDB connection URI strings. * Handle connecting to replica sets. * Use standard notation database+collection rather than collection+sub_collection. Note that these changes are NOT expected to be fully backwards compatible for someone using mongodb with pysaml2 already.
* | PEP-8Roland Hedberg2013-06-121-4/+5
| |
* | Improve MongoDB support.Fredrik Thulin2013-06-111-15/+60
|/ | | | | | | | | | * Support configuration with MongoDB connection URI strings. * Handle connecting to replica sets. * Use standard notation database+collection rather than collection+sub_collection. Note that these changes are NOT expected to be fully backwards compatible for someone using mongodb with pysaml2 already.
* Removed unused importRoland Hedberg2013-04-231-1/+1
|
* Fixed metadata export/import to MongoDB store.Roland Hedberg2013-04-191-18/+59
|
* Store Metadata in Mongo DB.Roland Hedberg2013-04-191-13/+23
|
* Fixed eptid, added eptid test and changed test orderRoland Hedberg2013-04-191-11/+7
|
* Added support for eduPersonTargetedID handling.Roland Hedberg2013-04-191-4/+119
|
* File med different storage modules all using Mongo DB as backend.Roland Hedberg2013-04-151-0/+222