The examples and documentation are very clear and show how to return one 
item, but I cannot figure out how to successfully return an array of items.

For example, one of my attributes is an array of values. I want to mutate 
the source array and return a new array. The groovy compiler keeps telling 
me that I have syntax errors, but I cannot find any examples of this online 
- only the reference example of returning one item. Does anyone know of 
examples? I tried using the arrow function and that too was not recognized.

Reference:
https://apereo.github.io/cas/5.3.x/integration/Attribute-Release-Policies.html#inline-groovy-attributes


-- 
- 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/d1e27d49-89b6-4297-b26e-a83ddf84a909%40apereo.org.

Reply via email to