Re: [cas-user] Re: CAS 6.1.3 SAML and JSON

2020-01-29 Thread Ray Bon
Jeff, 'excludeDefaultAttributes' should be inside 'attributeReleasePolicy'. Where are you defining 'FirstName' and 'Surname'? If it is in the list of default attributes, then you want 'excludeDefaultAttributes=false'. Add this to log4j2.xml: Ray P.S. It would be easier to

Re: [cas-user] Re: CAS 6.1.3 SAML and JSON

2020-01-29 Thread stonej
Hi All, I am slowly getting there, although now I have hit another hurdle. I need eduPersonTargetedID, now I can get that by using { "@class" : "org.apereo.cas.support.saml.services.SamlRegisteredService", "serviceId" : "https://DOMAIN;, "name" : "Apache Secured By SAML", "id" : 10011,

Re: [cas-user] Re: CAS 6.1.3 SAML and JSON

2020-01-23 Thread Andy Ng
Hi Travis, > To remove unwanted authentication attributes add excludeDefaultAttributes: true. Oh we can do that?! Didn't knows about that and good to learn about this! Thanks Travis :) Cheers! - Andy -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas

Re: [cas-user] Re: CAS 6.1.3 SAML and JSON

2020-01-23 Thread Travis Schmidt
To remove unwanted authentication attributes add excludeDefaultAttributes: true. On Thu, Jan 23, 2020 at 7:33 AM Josh wrote: > Apologies, I see you have that already, I mis-read the original post :) > > On Thursday, January 23, 2020 at 10:32:36 AM UTC-5, Josh wrote: >> >> You dont need an

[cas-user] Re: CAS 6.1.3 SAML and JSON

2020-01-23 Thread Josh
Apologies, I see you have that already, I mis-read the original post :) On Thursday, January 23, 2020 at 10:32:36 AM UTC-5, Josh wrote: > > You dont need an allowedAttributes sections for this, just an > attributeReleasePolicy like so: > >attributeReleasePolicy : { > @class :

[cas-user] Re: CAS 6.1.3 SAML and JSON

2020-01-23 Thread Josh
You dont need an allowedAttributes sections for this, just an attributeReleasePolicy like so: attributeReleasePolicy : { @class : org.apereo.cas.services.ReturnMappedAttributeReleasePolicy allowedAttributes : { @class : java.util.TreeMap mail :

[cas-user] Re: CAS 6.1.3 SAML and JSON

2020-01-23 Thread stonej
Hi Andy, I have tried that so only this in the JSON: { "@class" : "org.apereo.cas.support.saml.services.SamlRegisteredService", "serviceId" : "SERVICE", "name" : "Apache Secured By SAML", "id" : 10011, "description" : "CAS development Apache mod_shib/shibd server with

[cas-user] Re: CAS 6.1.3 SAML and JSON

2020-01-23 Thread Andy Ng
Hi Jeff, Have you tried allow all and see if the issue is due to the allowAttribute or other matter? Setup allow all as such: https://apereo.github.io/cas/6.0.x/integration/Attribute-Release-Policies.html#return-all Cheers! - Andy -- - Website: https://apereo.github.io/cas - Gitter