Keith,
I believe we have the same SP, I used the "Stub" attribute repository to
release a set of static attributes.
Here's the CAS document for 5.3's Stub Repo:
https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties.html#stub
Relevant section in my cas.properties looks something like this (Note: I
use CAS 6.2):
#-----Stub (Static
attributes)----------------------------------------------------------------------------------------------------#
#-----These are hardcoded attributes for
B&N----------------------------------------------------------------------------------------------#
cas.authn.attribute-repository.stub.attributes.schoolName=<Name to be
returned>
cas.authn.attribute-repository.stub.attributes.schoolNumber=<Number to be
returned>
On Thursday, May 13, 2021 at 11:39:25 AM UTC-4 Dustin J Luck wrote:
> I've been using inline groovy in the service definition attribute release.
>
> "schoolName" : "groovy { return 'Regent University' }"
>
> I'm interested to see if anyone else knows of a better way.
>
>
> On Thursday, May 13, 2021 at 8:25:57 AM UTC-7 Keith Alston (Staff) wrote:
>
>> 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 <(757)%20619-3421>
>>
>
--
- 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/a5951120-8626-462e-86fb-37527abf41ebn%40apereo.org.