Looks like your Groovy script is malformed in some way.

D.

On Tue, Feb 18, 2025 at 13:00 'Matthew Gordon' via CAS Community <
cas-user@apereo.org> wrote:

> I am using this example for the JSON Attribute Definitions " Embedded
> Script"
> https://apereo.github.io/cas/7.0.x/integration/Attribute-Definitions.html
>
> It does not appear to be working, and throws an error:
>
> 2025-02-18 11:03:12,125 WARN
> [org.apereo.cas.authentication.DefaultPrincipalAttributesMapper] -
> <Groovy-scripted attribute returned no value for [eduPersonPrincipalName]>
> 2025-02-18 11:03:12,132 ERROR
> [org.apereo.cas.util.scripting.GroovyShellScript] - <startup failed:
> Script1.groovy: 1: Unexpected input: '}' @ line 1, column 109.
>    Hi', attributes['firstname']] }, canonic
>                                  ^
>
> 1 error
>
> ErrorCollector.java:failIfErrors:292
> ErrorCollector.java:addFatalError:148
> AstBuilder.java:collectSyntaxError:4753
> AstBuilder.java:access$100:169
> >
> 2025-02-18 11:03:12,132 WARN
> [org.apereo.cas.authentication.DefaultPrincipalAttributesMapper] -
> <Groovy-scripted attribute returned no value for [eduPersonPrincipalName]>
>
>
> Any idea what could be wrong?
>
> Thank you,
> Matt
>
> --
> - Website: https://apereo.github.io/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 cas-user+unsubscr...@apereo.org.
> To view this discussion visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/bfdad1b8-8e51-48f0-8ede-8193f7d2192dn%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/bfdad1b8-8e51-48f0-8ede-8193f7d2192dn%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- Website: https://apereo.github.io/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 cas-user+unsubscr...@apereo.org.
To view this discussion visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAMpiYKh_yarori-d32hrG_FWfHj8amcwphvWv3BXfCZm2h0bWA%40mail.gmail.com.

Reply via email to