Anybody have an idea?

My configs are

attribute-defns.json:
{
  "@class": "java.util.TreeMap",
  "eduPersonPrincipalName": {
    "@class": 
"org.apereo.cas.support.saml.web.idp.profile.builders.attr.SamlIdPAttributeDefinition",
    "key": "eduPersonPrincipalName",
    "name": "urn:oid:1.3.6.1.4.1.5923.1.1.1.6",
    "friendlyName": "eduPersonPrincipalName",
    "scoped": true,
    "attribute": "uid"
  }
}

service.json
{
  "@class": "org.apereo.cas.support.saml.services.SamlRegisteredService",
  ....
  "attributeReleasePolicy": {
    "@class": "org.apereo.cas.services.ChainingAttributeReleasePolicy",
    "mergingPolicy": "multivalued",
    "policies":[ "java.util.ArrayList" [
        {
          "@class": 
"org.apereo.cas.support.saml.services.EduPersonTargetedIdAttributeReleasePolicy",
          "order": 0,
          "salt": "XXXX"
        },
        {
          "@class": 
"org.apereo.cas.services.ReturnAllowedAttributeReleasePolicy",
          "order": 1,
          "allowedAttributes": [ "java.util.ArrayList" [ "
urn:oid:1.3.6.1.4.1.5923.1.1.1.6" ] ]
        }
      ]
    ]
  }
}

Consent is showing urn:oid:1.3.6.1.4.1.5923.1.1.1.6 instead of friendly 
name and I cannot change allowedAttributes to use "eduPersonPrincipalName", 
as the attribute is not release 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/7c9f1c55-020b-4a81-9c14-74e5f60df2a8%40apereo.org.

Reply via email to