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

Reply via email to