I believe with a combination of these:
https://apereo.github.io/cas/5.3.x/integration/Attribute-Release-Policies.html#return-mapped
https://apereo.github.io/cas/5.3.x/integration/Attribute-Release-Policies.html#inline-groovy-attributes
This is tweaked from one of mine:
"attributeReleasePolicy" : {
"@class" : "org.apereo.cas.services.ReturnMappedAttributeReleasePolicy",
"allowedAttributes" : {
"@class" : "java.util.TreeMap",
"a_read_attr_name" : "desired_attr_name",
"another_desired_attr_name" : "groovy { return 'a_string_value' }"
}
}
Jon
________________________________
From: [email protected] [[email protected]] on behalf of Keith Alston
(Staff) [[email protected]]
Sent: Thursday, May 13, 2021 10:25 AM
To: [email protected]
Subject: [cas-user] passing static values that are not in AD???
CAUTION: THIS EMAIL ORIGINATED FROM OUTSIDE OF ORU
I'm running cas 5.3.14 and have a SAML2 sp who requires attributes that are not
in AD. schoolName/schoolNumber.
How can I send these without adding attribs to my directory?
Keith Alston
Regent University
IT Department
[email protected]
757.619.3421
--
- Website:
https://apereo.github.io/cas<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fapereo.github.io%2fcas&c=E,1,iYR2BnejmIfWHfCMBJm_bqDu3UlwfXv7k0Y83fg47-pkxuA9XIwyHSq4kmR4E3IhQR5cqxb8Zk6jtYoOFwG68AMtHvdl1mtTV2dI_0C1bVGAaJOdKfWnVE5l&typo=1>
- Gitter Chatroom:
https://gitter.im/apereo/cas<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgitter.im%2fapereo%2fcas&c=E,1,kF4WLzxpm2HGPk_YUXzBotN3bLj1PuZwaI_TNE_RaxD-HrCfFke8WAlqRshonPrQ3B2LOuSJXZvGAcIXHweE8IynDeE6YWL0fqJg_1wX&typo=1>
- List Guidelines:
https://goo.gl/1VRrw7<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgoo.gl%2f1VRrw7&c=E,1,fAsCbQIX0Gb7LbijbZhc74t7NNpfG-yGDy5rw1uTwi0Vmw45uxo8uNZcWjNRusONo7gUSDJL8tJywC7m4Ypp4xOH0QEGJ9JNDe7KiBgrJmNs9g,,&typo=1>
- Contributions:
https://goo.gl/mh7qDG<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgoo.gl%2fmh7qDG&c=E,1,gbtQRDcAjuCM88fSWvnOuv8AL8jXrEf3IeApvqzCDKFVhmtmCpgSQ00W0oI37aU64sCCPKtFMFP9OrYkBHs8BLnnBmpzNrhFMsxofby_obRZyd9z&typo=1>
---
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]<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/BL0PR10MB2995E62DDA0FF5C7EB13D380D9519%40BL0PR10MB2995.namprd10.prod.outlook.com<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fa%2fapereo.org%2fd%2fmsgid%2fcas-user%2fBL0PR10MB2995E62DDA0FF5C7EB13D380D9519%2540BL0PR10MB2995.namprd10.prod.outlook.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,THbqJ0ZF1rlP3O_BRr60GzibO0NUhIO-jn_-eiDbQ8Ryi_va3N9BCf_TS4KQyy_4xQgWnj6ek4BNXLt9hr8hQWLAEqHv-8vI9XGV627UCb01TgpGHYZVu_po11U,&typo=1>.
--
- 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/0A9BC9099B13904AA1708A7F1B6C8404015579666A%40Ntsrv75.int.oru.edu.