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

 

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:escap
eXml(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

-- 
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