Jorge,

You can map attributes with the retrieval mechanism. 
https://fawnoos.com/2023/10/21/cas70x-dbauthn-tutorial/ shows a jdbc example.
And you can set names on a per service basis, 
https://apereo.github.io/cas/6.6.x/installation/Configuring-SAML2-Attribute-Release.html
 and links within.

Ray

On Tue, 2023-11-21 at 08:24 -0800, Jorge Bastida wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Good afternoon,

I am finishing the upgrade to 6.6.13 and I have the following properties in my 
cas.properties inherited from the 6.3.7 configuration.

cas.authn.pac4j.saml[0].mappedAttributes[0].name=urn:mace:terena.org:attribute-def:schacHomeOrganization
cas.authn.pac4j.saml[0].mappedAttributes[0].mappedTo=Sir.sHO
cas.authn.pac4j.saml[0].mappedAttributes[1].name=urn:mace:dir:attribute-def:eduPersonAffiliation
cas.authn.pac4j.saml[0].mappedAttributes[1].mappedTo=Sir.ePA
cas.authn.pac4j.saml[0].mappedAttributes[2].name=urn:mace:dir:attribute-def:mail
cas.authn.pac4j.saml[0].mappedAttributes[2].mappedTo=Sir.mail
cas.authn.pac4j.saml[0].mappedAttributes[3].name=urn:mace:dir:attribute-def:uid
cas.authn.pac4j.saml[0].mappedAttributes[3].mappedTo=Sir.uid
cas.authn.pac4j.saml[0].mappedAttributes[4].name=urn:mace:dir:attribute-def:givenName
cas.authn.pac4j.saml[0].mappedAttributes[4].mappedTo=Sir.gn
cas.authn.pac4j.saml[0].mappedAttributes[5].name=urn:mace:dir:attribute-def:sn
cas.authn.pac4j.saml[0].mappedAttributes[5].mappedTo=Sir.sn
cas.authn.pac4j.saml[0].mappedAttributes[6].name=urn:mace:terena.org:attribute-def:schacPersonalUniqueID
cas.authn.pac4j.saml[0].mappedAttributes[6].mappedTo=Sir.sPUID
cas.authn.pac4j.saml[0].mappedAttributes[7].name=urn:mace:terena.org:attribute-def:schacGender
cas.authn.pac4j.saml[0].mappedAttributes[7].mappedTo=Sir.sG

These are not valid in the new version 6.6.13 how could I apply them then?

-- 
- 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/5b15621b681573ff8d3df1290f468a06668d49d0.camel%40uvic.ca.

Reply via email to