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: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user