def __init__(self, db, oidcsrv, client_info=None): UserInfo.__init__(self, db) self.oidcsrv = oidcsrv self.claims_clients = self.init_claims_clients(client_info) for key, cc in self.claims_clients.items(): oidcsrv.keyjar.update(cc.keyjar)
def __init__(self, db, oidcsrv, client_info=None): UserInfo.__init__(self, db) self.oidcsrv = oidcsrv self.claims_clients = self.init_claims_clients(client_info) for key, cc in self.claims_clients.items(): oidcsrv.keyjar.update(cc.keyjar)
def __init__(self, spconf, url, db=None): UserInfo.__init__(self, db) # Configurations for the SP handler. (pyOpSamlProxy.client.sp.conf) self.sp_conf = importlib.import_module(spconf) ntf = NamedTemporaryFile(suffix="pyoidc.py", delete=True) ntf.write("CONFIG = " + str(self.sp_conf.CONFIG).replace("%s", url)) ntf.seek(0) self.sp = Saml2Client(config_file="%s" % ntf.name) self.samlcache = self.sp_conf.SAML_CACHE
def __init__(self, spconf, url, db=None): UserInfo.__init__(self, db) # Configurations for the SP handler. (pyOpSamlProxy.client.sp.conf) self.sp_conf = importlib.import_module(spconf) ntf = NamedTemporaryFile(suffix="pyoidc.py", delete=True) ntf.write("CONFIG = " + str(self.sp_conf.CONFIG).replace("%s", url)) ntf.seek(0) self.sp = Saml2Client(config_file="%s" % ntf.name) self.samlcache = self.sp_conf.SAML_CACHE
def __init__(self, uri, base, filter_pattern, scope=SCOPE_SUBTREE, tls=False, user="", passwd="", attr=None, attrsonly=False): UserInfo.__init__(self, None) self.ldapuri = uri self.base = base self.filter_pattern = filter_pattern self.scope = scope self.tls = tls self.attr = attr self.attrsonly = attrsonly self.ldapuser = user self.ldappasswd = passwd self.bind()
def __init__(self, uri, base, filter_pattern, scope=SCOPE_SUBTREE, tls=False, user="", passwd="", attr=None, attrsonly=False): UserInfo.__init__(self, None) self.ldapuri = uri self.base = base self.filter_pattern = filter_pattern self.scope = scope self.tls = tls self.attr = attr self.attrsonly = attrsonly self.ldapuser = user self.ldappasswd = passwd self.bind() self.ld = None
def __init__(self, db, instance=None): UserInfo.__init__(self) SSIXADBBase.__init__(self, db) self.instance = instance