Re: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-29 Thread Jérémie Pilette
Hi everybody, I have succeed to do my configuration. I wrote a tutorial but it is in French for the moment, sorry. Take a look on my attached file. You can see that my synthesis comes from many sources. Thank you. Jérérmie - Website: https://apereo.github.io/cas > - Gitter Chatroom: https:/

RE: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-19 Thread Doug Campbell
[mailto:cas-user@apereo.org] On Behalf Of SOPHIE Fang Sent: Wednesday, September 20, 2017 4:06 AM To: CAS Community Subject: Re: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP It works. If you are like me, releasing it regardless of which client

Re: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-19 Thread SOPHIE Fang
It works. If you are like me, releasing it regardless of which client applications are calling Here is what i did: cas.authn.attributeRepository.defaultAttributesToRelease=mail,sn,givenName,displayName cas.authn.ldap[0].principalAttributeList=username,sAMAccountName,sn,cn,givenName,displayName,mai

Re: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-19 Thread SOPHIE Fang
cas.authn.attributeRepository.defaultAttributesToRelease=email,sn,givenName,displayName 在 2017年9月19日星期二 UTC-4下午2:34:34,SOPHIE Fang写道: > > I think i have a similar issuer though not as complicated as his. > My client side is using CAS protocol. dependency i use cas-client version > 3.4.1 > Below

Re: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-19 Thread SOPHIE Fang
I think i have a similar issuer though not as complicated as his. My client side is using CAS protocol. dependency i use cas-client version 3.4.1 Below i have it in my cas.properties cas.authn.ldap[0].principalAttributeList=username,sAMAccountName,sn,cn,givenName,displayName However, the Attribute

Re: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-19 Thread Ray Bon
Add this to your log4j2.xml to see if the attributes are being released from LDAP: Like Doug said, your client application needs to be configured to use SAML 1.1 or CAS protocol 3. Ray On Tue, 2017-09-19 at 04:24 -0700, Jérémie Pilette wrote: Thank you for your responses. I have used json c

Re: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-19 Thread David Curry
Did you configure the server to support releasing attributes with SAML 1.1? The CAS protocol didn't support attribute release until v3.0 of the protocol, which came out in v4.0 of the server. To support SAML 1.1 attribute release, you need this in pom.xml: org.apereo.cas cas-

RE: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-19 Thread Doug Campbell
Behalf Of Jérémie Pilette Sent: Tuesday, September 19, 2017 7:24 PM To: CAS Community Subject: Re: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP Thank you for your responses. I have used json configuration "attributeReleasePolicy&qu

Re: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-19 Thread Jérémie Pilette
Thank you for your responses. I have used json configuration "attributeReleasePolicy" but no attributes are sent to the service. Is there a parameter to add in the cas.properties? In the "Attribute Release Policies", it is written that it is about principal attributes. Where can we defined the

Re: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-15 Thread Ray Bon
Jérémie You can specify the attributes to be released on a per service basis. Add something like this to you service definition: "attributeReleasePolicy" : {"@class" : "org.apereo.cas.services.ReturnMappedAttributeReleasePolicy" , "allowedAttributes" : { "@class" : "java.util.Tre

Re: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-15 Thread David Curry
Personally I would use the second option, as it gives you more flexibility. If you'd like a step-by-step example of setting up attribute release, see here: https://dacurry-tns.github.io/deploying-apereo-cas/building_server_ldap_resolution-release_overview.html (The above is not official documenta

[cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-15 Thread Jérémie Pilette
Is there somebody who can help me please ? Thank you, Jérémie Le jeudi 7 septembre 2017 15:50:52 UTC+2, Jérémie Pilette a écrit : > > Hello, > > I would like to configure my cas.properties in order to have the > possibility to transfert some values from LDAP to a service (Ypareo for > example)