Hi,

What's the url of the defined endpoint for the service ticket validator?
Did you use the /p3 url?

Thanks.
Best regards,


Jérôme LELEU
Founder of CAS in the cloud: www.casinthecloud.com | Twitter: @leleuj
Chairman of CAS: www.jasig.org/cas | Creator of pac4j: www.pac4j.org

2014-11-05 11:42 GMT+01:00 Alberto Cabello Sánchez <albe...@unex.es>:

> On Wed, 05 Nov 2014 11:12:05 +0100
> Federico Paparoni <federico.papar...@gmail.com> wrote:
>
> > Map attributes = principal.getAttributes();
> >
> > Iterator attributeNames = attributes.keySet().iterator();
> > for (; attributeNames.hasNext();) {
> >   String attributeName = (String) attributeNames.next();
> >   Object attributeValue = attributes.get(attributeName);
> >   out.println("attributeName:"+attributeName+"
> > attributeValue:"+(String)attributeValue);
> > }
> >
> > but the output is only the username. I think that in default
> configuration
> > it should show the attributes defined in a static map but it doesn't
> work.
> > Is there something I have to enable?
>
> I did roughly the same, but only got that code working after enabling SAML
> attribute release.
>
> --
> Alberto Cabello Sánchez
> <albe...@unex.es>
>
> --
> You are currently subscribed to cas-user@lists.jasig.org as:
> lel...@gmail.com
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to