Thank you, Ray! I just wrote one and I will test in a convenient time!

Kind regards,
Thiago

Em quinta-feira, 11 de dezembro de 2025 às 17:59:36 UTC-3, Ray Bon escreveu:

> Thiago,
>
> You can use groovy scripting for either Attribute Definition or Attribute 
> Resolution.
>
> https://apereo.github.io/cas/7.3.x/integration/Attribute-Resolution.html#groovyPropertiescaspersondirectory
> https://apereo.github.io/cas/7.3.x/integration/Attribute-Definitions.html#
>
> Ray
> ------------------------------
> *From:* [email protected] <[email protected]> on behalf of Thiago 
> Castro <[email protected]>
> *Sent:* December 11, 2025 11:02
> *To:* CAS Community <[email protected]>
> *Subject:* [cas-user] Use specific attribute for nameID in SAML2 and 
> another one as fallback 
>  
> You don't often get email from [email protected]. Learn why this is 
> important <https://aka.ms/LearnAboutSenderIdentification> 
> Hello everyone,
>
> Currently, we can define a specific attribute for nameID in service 
> definition. If that attribute is not present, it uses the default resolved 
> in authentication according with documentation. Is there a way that I can 
> set an attribute as fallback? I want to set "CPF" as the attribute for 
> nameID (which can be done via service definition) and another one called 
> "DRE" as the fallback. And the user authenticates in CAS using email.
>
>
> Best regards,
> Thiago
>
> -- 
> - 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 [email protected].
> To view this discussion visit 
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/f4a0c9f4-ca66-4360-9a59-a2c6ae52e13en%40apereo.org
>  
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/f4a0c9f4-ca66-4360-9a59-a2c6ae52e13en%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 [email protected].
To view this discussion visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/d459a51b-b5c6-4dab-917b-634313ae5ff9n%40apereo.org.

Reply via email to