casServiceValidationSuccess.jsp
Scott Battaglia
scott.battaglia at gmail.com
Sat Jan 10 22:14:30 EST 2009
There is no DTD for the CAS1 and 2 protocol for attributes. For CAS4, we'll
be using SAML2, which supports attributes.
-Scott
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
On Wed, Jan 7, 2009 at 4:03 AM, Julien Gribonvald <
julien.gribonvald at recia.fr> wrote:
> Hi,
>
> I would like to take this exemple to ask if there is a standard way,
> like a dtd, to give user attributes in the ticket, because each CASified
> applications will have there own xml parser to read a such ticket...
>
> Is there something so about that which is specified by the JASIG ?
>
> thanks
>
> Julien.
>
>
>
> Scott Battaglia a écrit :
> > I believe fn:length on a string may give you the length of the string
> > which would confuse your logic.
> >
> > -Scott
> >
> > -Scott Battaglia
> > PGP Public Key Id: 0x383733AA
> > LinkedIn: http://www.linkedin.com/in/scottbattaglia
> >
> >
> > On Tue, Dec 23, 2008 at 7:10 PM, Gérard LEON
> > <gerard.leon at crdp.ac-versailles.fr
> > <mailto:gerard.leon at crdp.ac-versailles.fr>> wrote:
> >
> > Scott Battaglia a écrit :
> > > If your value is multivalued, you would need to iterate over it
> > like you
> > > would any other list.
> >
> > I try that, but still not working
> >
> > <c:forEach var="auth"
> > items="${assertion.chainedAuthentications}">
> > <c:forEach var="attr"
> > items="${auth.principal.attributes}" >
> > <c:if test="${fn:length(attr.value)
> > > 1}">
> > <c:forEach var="val"
> > items="${attr.value}">
> > <cas:attribute
> > name="${fn:escapeXml(attr.key)}"
> > value="${fn:escapeXml(val)}"/>
> > </c:forEach>
> > </c:if>
> > <c:if test="${fn:length(attr.value)
> > == 1}">
> > <cas:attribute
> > name="${fn:escapeXml(attr.key)}"
> > value="${fn:escapeXml(attr.value)}"/>
> > </c:if>
> > </c:forEach>
> > </c:forEach>
> >
> > sorry but i'm not a java developer...
> >
> > --
> > __________________________________
> > Gérard Léon
> > Département des Technologies de l'Information et de la Communication
> > CRDP de l'académie de Versailles
> > __________________________________
> >
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu <mailto:cas at tp.its.yale.edu>
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
>
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20090110/82f01a15/attachment.html
More information about the cas
mailing list