Did I find the right examples for you? yes no

All Samples(12)  |  Call(4)  |  Derive(2)  |  Import(6)
A class that handles identifiers of entities
Keeps a list of all nameIDs returned per SP

src/p/y/pysaml2-2.0.0/src/saml2/server.py   pysaml2(Download)
from saml2.assertion import filter_attribute_value_assertions
 
from saml2.ident import IdentDB
from saml2.profile import ecp
 
            pass
        elif idb is not None:
            self.ident = IdentDB(idb)
        elif dbspec:
            raise Exception("Couldn't open identity database: %s" %

src/p/y/pysaml2-HEAD/src/saml2/server.py   pysaml2(Download)
from saml2.assertion import filter_attribute_value_assertions
 
from saml2.ident import IdentDB
from saml2.profile import ecp
 
            pass
        elif idb is not None:
            self.ident = IdentDB(idb)
        elif dbspec:
            raise Exception("Couldn't open identity database: %s" %

src/p/y/pysaml2-2.0.0/src/saml2/mongo_store.py   pysaml2(Download)
from saml2.s_utils import PolicyError
 
from saml2.ident import code, IdentDB, Unknown
from saml2.mdie import to_dict, from_dict
 
class IdentMDB(IdentDB):
    def __init__(self, database="", collection="ident", domain="",
                 name_qualifier=""):
        IdentDB.__init__(self, None, domain, name_qualifier)
        self.mdb = MDB(database=database, collection=collection)

src/p/y/pysaml2-HEAD/src/saml2/mongo_store.py   pysaml2(Download)
from saml2.s_utils import PolicyError
 
from saml2.ident import code, IdentDB, Unknown
from saml2.mdie import to_dict, from_dict
 
class IdentMDB(IdentDB):
    def __init__(self, database="", collection="ident", domain="",
                 name_qualifier=""):
        IdentDB.__init__(self, None, domain, name_qualifier)
        self.mdb = MDB(database=database, collection=collection)

src/p/y/pysaml2-2.0.0/tests/test_33_identifier.py   pysaml2(Download)
from saml2.saml import NAMEID_FORMAT_PERSISTENT, NAMEID_FORMAT_TRANSIENT
from saml2.config import IdPConfig
from saml2.ident import IdentDB
from saml2.assertion import Policy
 
    def setup_class(self):
        self.id = IdentDB("subject.db", "example.com", "example")
 
    def test_persistent_1(self):
        policy = Policy({

src/p/y/pysaml2-HEAD/tests/test_33_identifier.py   pysaml2(Download)
from saml2.saml import NAMEID_FORMAT_PERSISTENT, NAMEID_FORMAT_TRANSIENT
from saml2.config import IdPConfig
from saml2.ident import IdentDB
from saml2.assertion import Policy
 
    def setup_class(self):
        self.id = IdentDB("subject.db", "example.com", "example")
 
    def test_persistent_1(self):
        policy = Policy({