Hello to all.
I am replacing our shibboleth server with Jasig.
Do you know why, in the idp saml part, jasig always sends the same 
information in "name" and "friendlyname" .
Example :
Jasig will send name=mail and friendlyname=mail instead of 
"name=urn:oid:0.9.2342.19200300.100.1.3" and friendlyname=mail

I am in version 6.5, I managed to get around this problem with this json 
file.

"attributeFriendlyNames": {
"@class": "java.util.HashMap",
"urn:oid:0.9.2342.19200300.100.1.1": "uid",
"urn:oid:0.9.2342.19200300.100.1.3": "mail",
"urn:oid:1.3.6.1.4.1.5923.1.1.1.1": "eduPersonAffiliation",
"urn:oid:1.3.6.1.4.1.5923.1.1.1.3": "eduPersonOrgDN",
"urn:oid:1.3.6.1.4.1.5923.1.1.1.6": "eduPersonPrincipalName",
"urn:oid:1.3.6.1.4.1.5923.1.1.1.10": "eduPersonTargetedID",
"urn:oid:2.5.4.3": "commonName",
"urn:oid:2.5.4.4": "surName",
"urn:oid:2.5.4.42": "givenName",
"urn:oid:2.16.840.1.113730.3.1.39": "preferredLanguage",
"urn:oid:1.3.6.1.4.1.25178.1.2.14": "schacPersonalUniqueCode",
"urn:oid:2.16.840.1.113730.3.1.241": "displayName",
"urn:oid:1.3.6.1.4.1.7135.1.2.1.9" : "supannCodeINE"
}


"attributeReleasePolicy" : {
    "@class" : "org.apereo.cas.services.ReturnMappedAttributeReleasePolicy",
    "allowedAttributes" : {
      "@class" : "java.util.TreeMap",
      "supannCodeINE": "urn:oid:1.3.6.1.4.1.7135.1.2.1.9",
      "urn:oid:1.3.6.1.4.1.25178.1.2.14": "groovy { return 
'urn:schac:personalUniqueCode:int:esi:fr:' + 
attributes['supannCodeINE'].get(0)  }",
      "mail" : "urn:oid:0.9.2342.19200300.100.1.3"

    }

Do you know if there is an easier way?

Thanks to you
Sincerely





-- 
- 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/5cae1162-a7b4-4575-b215-fa1416cd9fd8n%40apereo.org.

Reply via email to