Hi,
I would like to use Attribute release for one application (Yparéo).
I was usin CAS 5.1, and it was operationnal.

Now with the new version 6.4, it does'nt work.

I am using json file configuration :
******************************************************************
{
    "@class" : "org.apereo.cas.services.RegexRegisteredService",
    "serviceId" : "^(https|http)://URL/cas.*",
    "name" : "netYpareo",
    "id" : 10000005,
    "description" : "NetYparéo",
    "evaluationOrder" : 3,
    "accessStrategy" :
        {
            "@class" : 
"org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy",
            "enabled" : "true",
            "ssoEnabled" : "true",
            "requireAllAttributes": "true",
            "caseInsensitive": "false"
        },
    "attributeReleasePolicy" :
        {
            "@class" : 
"org.apereo.cas.services.ReturnMappedAttributeReleasePolicy",
            "allowedAttributes" :
                {
                    "@class" : "java.util.TreeMap",
                    "*id_attribute*" : "*codeNYP*"
                }
        },
    "authorizedToReleaseCredentialPassword" : "false",
    "authorizedToReleaseProxyGrantingTicket" : "false",
    "excludeDefaultAttributes" : "false",
    "*principalIdAttribute*" : "*login_attribute*"
}
******************************************************************
In my cas.properties :
cas.authn.authentication-attribute-release-enabled=*true*
cas.authn.ldap[0].principal-attribute-list=*id_attribute*

Maybe I forget something  ?

One other question : How could we know which protocol is used to do that ?
The application accept CASv3, so I want to use CASv3, not SAML or other ....

Thank you

-- 
- 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/f2222c4a-62a5-4b31-b406-8c1d0f95c9f7n%40apereo.org.

Reply via email to