Il 19/07/2017 21:16, Sunil Kalahasti ha scritto:
Hi Fabio,

This is Sunil. I saw a recent post in CAS user community about x.509 issue.

I am trying to configure x.509 authentication with CAS. I am unable to proceed forward as this is new to me.

If possible could you let me know the server configuration and customizations you had to do to make x.509 work with CAS.

Thanks in advance,
Sunil.

Hi Sunil, I'm on 5.1.X.

I have some customization around principal resolution BTW in your case the conf should be.

*cas.properties*

/    cas.authn.x509.principal.principalAttribute=CN//
//    cas.authn.x509.principal.returnNull=true//
//    cas.authn.x509.principalDescriptor=$CN//
//    cas.authn.x509.principalType=SUBJECT/

*pom.xml*

/    <dependency>//
//      <groupId>org.apereo.cas</groupId>//
//<artifactId>cas-server-support-x509-webflow</artifactId>//
//      <version>${cas.version}</version>//
//    </dependency>/

This should be enough.

BR,

F.

--
Fabio Martelli
https://it.linkedin.com/pub/fabio-martelli/1/974/a44
http://blog.tirasa.net/author/fabio/index.html

Tirasa - Open Source Excellence
http://www.tirasa.net/index.html?pk_campaign=email&pk_kwd=fm

Apache Syncope PMC
http://people.apache.org/~fmartelli/

--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 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/86cefd26-41c8-3f6e-d087-2ec72b665178%40gmail.com.

Reply via email to