[cas-dev] dtd for attributes in cas ticket
Julien Gribonvald
julien.gribonvald at recia.fr
Thu Jan 8 06:36:06 EST 2009
Hi,
I would like to know if there is a dtd to show user attributes in the
cas ticket ?
I know we can modify the jsp casServiceValidationSuccess.jsp and the
bean in the deployerContext.xml.
But there is a problem or standart on how to gives the multivalued
attributes in the cas ticket ...
Actualy i can have this kind of ticket :
<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
<cas:authenticationSuccess>
<cas:user>F08001pi</cas:user>
<cas:sn>GRIBONVALD</cas:sn>
<cas:uid>F08001pi</cas:uid>
<cas:ENTPersonFonctions>[test$Fonction1, test2$Fonction2]</cas:ENTPersonFonctions>
<cas:givenName>Julien</cas:givenName>
</cas:authenticationSuccess>
</cas:serviceResponse>
But like you can see the attribute ENTPersonFonctions is multivalued and
values are in a tab, that is shown with the default java function
toString().
So to avoid this kind of view I would like to know if there is a
specification on own to give all tickets attributes. And if there isn't
a specification is it possible that the JASIG validate one ?
It's a feature that, I think, many peoples would like to see...
For exemple for multivalued attributes we could repeat the tag
<cas:attributeName> value1 </cas:attributeName><cas:attributeName>
value2 </cas:attributeName>
or we can add the tag
<cas:attributeName><value>value1</value><value>value2</value></cas:attributeName><value>value1</value>
But if we do like the second choice isn't it better to add the value
between each tag attributes ?
...
I hope you understand the problem, if everybody go on different way ...
Thanks
Julien Gribonvald
More information about the cas-dev
mailing list