Thanks Daniel - are there any public CAS projects (that have viewable source 
code) that utilize KeyStoreCredentialConfig for Ldaptive?

-----Original Message-----
From: Daniel Fisher [mailto:[email protected]] 
Sent: Tuesday, June 17, 2014 7:40 PM
To: [email protected]
Subject: Re: [cas-user] CAS: Example of LDAP authentication for CAS 4.0?

On Tue, Jun 17, 2014 at 4:41 PM, Zac Harvey <[email protected]> wrote:
>                 <bean id="sslConfig" 
> class="org.ldaptive.ssl.SslConfig">
>
>                                 <property name="credentialConfig">
>
>                                     <bean 
> class="org.ldaptive.ssl.X509CredentialConfig"
>
>                                           p:trustCertificates="mycert" 
> />
>

If you want to use a keystore here you should be using a 
KeyStoreCredentialConfig.
See http://www.ldaptive.org/docs/guide/connections#TOC-Trust-Issues

--Daniel Fisher

--
You are currently subscribed to [email protected] as: 
[email protected] To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to