| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Fixes deprecation warning:
"""
DeprecationWarning: insert is deprecated. Use insert_one or insert_many instead.
"""
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
|
|\
| |
| | |
Add timestamps for ident mongodb documents
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
|
|/
|
|
|
| |
Implement MongoDB version of function to look for an existing persistent
NameId for a user.
|
|
|
|
| |
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Hashes, and other calls, require bytes or strings in python3 where they
were different in python 2.x.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fixed bug in mdstore.MetadataStore in handling external metadata using the new config format.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)]},
]
|
| |
|
| |
|
|
|
|
|
| |
Make sure keyword arguments to get() and remove() are not interpreted
as Value not being None.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|