Correct, I apologize we added the snippet below to 
casServiceValidationSuccess.jsp so that we can release attributes to CAS 2 
protocol but we run into issues with the phpcas client were it does not like 
that fact that some of the attribute names being sent contain spaces. So I 
wanted to know if there is a way to modify the snippet so that phpcas can 
accept the attribute names with spaces when using CAS 2 protocol.

Thanks!


___________________
Juan Quintanilla
UTS - Enterprise Group
305-348-6573
[email protected]<mailto:[email protected]>


________________________________
From: Misagh Moayyed <[email protected]>
Sent: Friday, September 4, 2015 4:57 PM
To: [email protected]
Subject: RE: [cas-user] CAS 2.0 Protocol Attribute Release


The snippet for CAS2 is likely in this file for your CAS server:

https://github.com/Jasig/cas/blob/3.6.x/cas-server-webapp/src/main/webapp/WEB-INF/view/jsp/protocol/2.0/casServiceValidationSuccess.jsp<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Jasig_cas_blob_3.6.x_cas-2Dserver-2Dwebapp_src_main_webapp_WEB-2DINF_view_jsp_protocol_2.0_casServiceValidationSuccess.jsp&d=AwMFAg&c=1QsCMERiq7JOmEnKpsSyjg&r=NauC5-J1X4CCd25sdSxQCA&m=4J_maQ6u6AiO1ksSbbe5ZsukSdCiX6qwl0lc00i2j50&s=-kQ-XTKUP9sjOQzAc1chWMgiBauJJpwiUSDFpgT7nOM&e=>



From: Juan Quintanilla [mailto:[email protected]]
Sent: Friday, September 4, 2015 1:21 PM
To: [email protected]
Subject: [cas-user] CAS 2.0 Protocol Attribute Release



Hi,



We are using CAS 3.6.0 and we have no problem releasing attributes using saml1, 
we attempted to use the cas 2 protocol and it seems to work using the 
configuration specified on the wiki but the only problem we are running into is 
the when the attribute name has a space,  it causes the transaction to fail 
with Authentication failure: Ticket not validated .  We are testing using 
phpcas1.3.2, is there a way to modify the snippet



<cas:attributes>

<c:forEach var="auth" items="${assertion.chainedAuthentications}">

    <c:forEach var="attr" items="${auth.principal.attributes}" >

        
<cas:${fn:escapeXml(attr.key)}>${fn:escapeXml(attr.value)}</cas:${fn:escapeXml(attr.key)}>

    </c:forEach>

</c:forEach>

</cas:attributes>



so that the CAS_Client::_readExtraAttributesCas20 can accept the attributes 
names with spaces. It works fine for attributes names that contain no spaces.



Thanks!

___________________
Juan Quintanilla

UTS - Enterprise Group

305-348-6573

[email protected]<mailto:[email protected]>



--

You are currently subscribed to 
[email protected]<mailto:[email protected]> as: 
[email protected]<mailto:[email protected]>

To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ja-2Dsig.org_wiki_display_JSG_cas-2Duser&d=AwMFAg&c=1QsCMERiq7JOmEnKpsSyjg&r=NauC5-J1X4CCd25sdSxQCA&m=4J_maQ6u6AiO1ksSbbe5ZsukSdCiX6qwl0lc00i2j50&s=rmPWFIDbCvok9W6R_BLotuyLJ9P4ZoYnR056nm1X0dQ&e=>

--
You are currently subscribed to [email protected] as: [email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to