Did I find the right examples for you? yes no

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/p/y/pysaml2-2.0.0/src/saml2/server.py   pysaml2(Download)
import threading
 
from saml2.eptid import EptidShelve, Eptid
from saml2.saml import EncryptedAssertion
from saml2.sdb import SessionStorage
            secret = dbspec[2]
            if typ == "shelve":
                self.eptid = EptidShelve(secret, addr)
            elif typ == "mongodb":
                from saml2.mongo_store import EptidMDB

src/p/y/pysaml2-HEAD/src/saml2/server.py   pysaml2(Download)
import threading
 
from saml2.eptid import EptidShelve, Eptid
from saml2.saml import EncryptedAssertion
from saml2.sdb import SessionStorage
            secret = dbspec[2]
            if typ == "shelve":
                self.eptid = EptidShelve(secret, addr)
            elif typ == "mongodb":
                from saml2.mongo_store import EptidMDB

src/p/y/pysaml2-2.0.0/tests/test_72_eptid.py   pysaml2(Download)
from saml2.eptid import Eptid, EptidShelve
 
__author__ = 'rolandh'
 
 
def test_eptid_shelve():
    edb = EptidShelve("secret", "eptid.db")
    e1 = edb.get("idp_entity_id", "sp_entity_id", "user_id", "some other data")
    print e1
    assert e1.startswith("idp_entity_id!sp_entity_id!")

src/p/y/pysaml2-HEAD/tests/test_72_eptid.py   pysaml2(Download)
from saml2.eptid import Eptid, EptidShelve
 
__author__ = 'rolandh'
 
 
def test_eptid_shelve():
    edb = EptidShelve("secret", "eptid.db")
    e1 = edb.get("idp_entity_id", "sp_entity_id", "user_id", "some other data")
    print e1
    assert e1.startswith("idp_entity_id!sp_entity_id!")