Apologies for the rather quick response; I realize you have certainly 
looked at that flag and relevant page in the docs. I think you're only 
missing that construct in your release policy. My example should help, I 
hope.

On Thursday, August 15, 2019 at 10:32:28 AM UTC+4:30, Misagh Moayyed wrote:
>
>
>
> So I can see why it's mapping to the principal id and would not release by 
> default, but I can't discern from the documentation how to change the 
> default behavior to release it as part of the attribute list.
>
> Any ideas?
>
>
> Have you looked at “principalIdAttribute”?
>
>
> https://apereo.github.io/cas/5.3.x/integration/Attribute-Release-Policies.html
>
> Perhaps:
>
> "attributeReleasePolicy" : {
>    "@class" : 
> "org.apereo.cas.services.ReturnAllowedAttributeReleasePolicy",
>    "allowedAttributes" : [ "java.util.ArrayList", [ "mail", "uid" ] ],
>    “principalIdAttribute”: "uid"
> }
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/9f626b0c-3804-4d88-bcc3-4bea6215a85f%40apereo.org.

Reply via email to