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
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,
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
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
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 :
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 :
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
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