That is the default, in CAS 4. 



Misagh 


----- Original Message -----

From: "Michael Wechner" <[email protected]> 
To: [email protected] 
Sent: Thursday, January 2, 2014 4:06:44 AM 
Subject: [cas-user] Missing attributes inside casServiceValidationSuccess.jsp 

Hi 

I am currently trying to return some custom attributes and noticed that 
one has to modify 

casServiceValidationSuccess.jsp 

in order to display the attributes 

(according to 
http://stackoverflow.com/questions/4882298/getting-more-attributes-from-cas-than-just-user-id)
 

Wouldn't it make sense to add the following lines 

<cas:attributes> 
<c:forEach var="attr" 
items="${assertion.chainedAuthentications[fn:length(assertion.chainedAuthentications)-1].principal.attributes}">
 

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

by default? 

Thanks 

Michael 

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