Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pysaml2 / tests / test_44_authnresp.pyc
Size: Mime:
ó
6£ßNc@s¦ddlmZmZddlmZmZmZmZddlmZddl	m
Z
mZddlm
Z
dZdZddlZd	„Zd
dd„ƒYZdS(
iÿÿÿÿ(tsamlptBINDING_HTTP_POST(tsamltconfigt
class_namet
make_instance(tServer(tauthn_responsetStatusResponse(tconfig_factoryssaml_signed.xmlssaml2_response.xmlNcCst|ƒt|ƒkS(N(tset(tl1tl2((sC/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_44_authnresp.pyt_eqstTestAuthnResponsecBs5eZd„Zd„Zd„Zd„Zd„ZRS(c
CsÙtdƒ}|jjddƒ}|jdddidd6d|ƒ|_|jdddidd6d|dtƒ|_|jdddidd6d|d	tjd
fƒ|_	t
ddƒ|_t|jdƒ|_
dS(
Ntidp_confs#urn:mace:example.com:saml:roland:sptid12s http://lingon.catalogix.se:8087/tJeterteduPersonEntitlementtname_idtsigntauthnshttp://www.example.com/logintsptserver_conf(Rtidentttransient_nameidtdo_responset_resp_tTruet_sign_resp_RtAUTHN_PASSWORDt_resp_authnR	tconfRtar(tselftserverR((sC/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_44_authnresp.pytsetup_classs2	


cCsðd|jfjdƒd}idd6|j_d|j_|jj|dtƒ|jjƒ|jjGH|jj	dks‚t
‚|jjƒdkst
‚|jjidgd	6ks¿t
‚|jj
sÑt
‚|jjƒd
ksìt
‚dS(Ns%ss
ishttp://localhost:8088/ssoRi'tdecodeRRs$urn:mace:example.com:saml:roland:idp(RtsplitR!toutstanding_queriest	timeslacktloadstFalsetverifyt__dict__t	came_fromtAssertionErrort
session_idtavaRtissuer(R"txml_response((sC/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_44_authnresp.pyt
test_verify_15s
"cCsød|jfjddƒd}|GHidd6|j_d|j_|jj|dtƒ|jjƒ|jjGH|jj	dksŠt
‚|jjƒdks¥t
‚|jjidgd	6ksÇt
‚|jj
ƒd
ksât
‚|jjsôt
‚dS(Ns%ss
ishttp://localhost:8088/ssoRi'R%RRs$urn:mace:example.com:saml:roland:idp(RR&R!R'R(R)R*R+R,R-R.R/R0R1R(R"R2((sC/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_44_authnresp.pyttest_verify_signed_1Cs 
"cCsÆttƒjƒ}d}id|6|j_d|j_d|j_d|j_|jj|dt	ƒ|jj
ƒ|jjGH|jjdks•t
‚|jjƒ|ks°t
‚|jjsÂt
‚dS(Nt(bahigehogffohiphlfmplepdpcohkhhmheppcdieshttp://localhost:8088/foos(http://xenosmilus.umdc.umu.se:8087/loginsxenosmilus.umdc.umu.seiÌR%(topentXML_RESPONSE_FILEtreadR!R'treturn_addrt	entity_idR(R)R*R+R,R-R.R/R(R"R2tID((sC/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_44_authnresp.pyttest_parse_2Ss
cCs0d|jfjddƒd}idd6|j_d|j_d|j_d|j_|jj|d	tƒ|jj	ƒ|jj
GHt|jj
jƒdks¦t
‚|jjƒ}t|ƒdksÍt
‚|d
d
tjksêt
‚|d
ddgkst
‚|jjƒ}|d|ks,t
‚dS(
Ns%ss
ishttp://localhost:8088/ssoRs http://lingon.catalogix.se:8087/s#urn:mace:example.com:saml:roland:spi'R%ishttp://www.example.com/logint
authn_info(RR&R!R'R9R:R(R)R*R+t	assertiontlentauthn_statementR.R=RRtsession_info(R"R2R=RA((sC/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_44_authnresp.pyttest_verify_w_authncs 
!(t__name__t
__module__R$R3R4R<RB(((sC/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_44_authnresp.pyRs
	"			((tsaml2RRRRRRtsaml2.serverRtsaml2.responseRRtsaml2.configR	R7tXML_RESPONSE_FILE2tosR
R(((sC/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_44_authnresp.pyt<module>s"