Have you added the

cas-server-support-ldap-core
<https://github.com/apereo/cas/tree/master/support/cas-server-support-ldap-core>
cas-server-support-ldap
<https://github.com/apereo/cas/tree/master/support/cas-server-support-ldap>

modules to your overlay project?

Also add the following line as-is to validate users from your
authentication source than default cas credentials
cas.authn.accept.users=


On Fri, Jan 13, 2017 at 7:20 PM, sesharaju sv <[email protected]>
wrote:

> 2017-01-13 18:57:23,910 WARN [org.apereo.cas.config.
> CasSecurityContextConfiguration] - < [0m>
> 2017-01-13 18:57:36,486 ERROR [org.apereo.cas.configuration.support.Beans]
> - <org.ldaptive.provider.unboundid.UnboundIDProvider>
> java.lang.ClassNotFoundException: org.ldaptive.provider.
> unboundid.UnboundIDProvider
>     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(
> WebappClassLoaderBase.java:1285) ~[catalina.jar:8.5.6]
>     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(
> WebappClassLoaderBase.java:1119) ~[catalina.jar:8.5.6]
>     at java.lang.Class.forName0(Native Method) ~[?:1.8.0_66]
>     at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_66]
>     at org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:923)
> ~[commons-lang3-3.5.jar:3.5]
>     at org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:989)
> ~[commons-lang3-3.5.jar:3.5]
>     at org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:972)
> ~[commons-lang3-3.5.jar:3.5]
>     at org.apereo.cas.configuration.support.Beans.
> newConnectionFactory(Beans.java:431) ~[cas-server-core-
> configuration-5.1.0-RC2-SNAPSHOT.jar:5.1.0-RC2-SNAPSHOT]
>     at org.apereo.cas.configuration.support.Beans.
> newBlockingConnectionPool(Beans.java:447) ~[cas-server-core-
> configuration-5.1.0-RC2-SNAPSHOT.jar:5.1.0-RC2-SNAPSHOT]
>     at org.apereo.cas.configuration.support.Beans.
> newPooledConnectionFactory(Beans.java:499) ~[cas-server-core-
> configuration-5.1.0-RC2-SNAPSHOT.jar:5.1.0-RC2-SNAPSHOT]
>     at org.apereo.cas.config.LdapAuthenticationConfiguration.
> getAuthenticatedOrAnonSearchAuthenticator(LdapAuthenticationConfiguration.java:274)
> ~[cas-server-support-ldap-5.1.0-RC2-SNAPSHOT.jar:5.1.0-RC2-SNAPSHOT]
>     at org.apereo.cas.config.LdapAuthenticationConfiguratio
> n.getAuthenticator(LdapAuthenticationConfiguration.java:252)
> ~[cas-server-support-ldap-5.1.0-RC2-SNAPSHOT.jar:5.1.0-RC2-SNAPSHOT]
>     at org.apereo.cas.config.LdapAuthenticationConfiguration.lambda$
> ldapAuthenticationHandlers$2(LdapAuthenticationConfiguration.java:104)
> ~[cas-server-support-ldap-5.1.0-RC2-SNAPSHOT.jar:5.1.0-RC2-SNAPSHOT]
>
>
> On Friday, January 13, 2017 at 7:18:45 PM UTC+5:30, sesharaju sv wrote:
>>
>> Hello Team,
>>
>> I think we have similar issue with below error.  I think Sravani was
>> right about the libraries missing.  As LDAP Authentication provider
>> configured provider class is not found in the set of libraries included in
>> the CAS Server. Please let me know if some one has found similar issue and
>> had fixed it earlier.
>>
>> Thanks in Advance.
>> ============================================================
>> =================================================================
>> CAS is configured to accept a static list of credentials for
>> authentication. While this is generally useful for demo purposes, it is
>> STRONGLY recommended that you DISABLE this authentication method (by
>> SETTING 'cas.authn.accept.users' to a blank value) and switch to a mode
>> that is more suitable for production.>
>> 2017-01-13 19:03:43,756 WARN 
>> [org.apereo.cas.config.CasSecurityContextConfiguration]
>> - < [0m>
>> 2017-01-13 19:03:55,886 ERROR [org.apereo.cas.configuration.support.Beans]
>> - <org.jasig.cas.authentication.LdapAuthenticationHandler>
>> java.lang.ClassNotFoundException: org.jasig.cas.authentication.L
>> dapAuthenticationHandler
>>     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(W
>> ebappClassLoaderBase.java:1285) ~[catalina.jar:8.5.6]
>>     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(W
>> ebappClassLoaderBase.java:1119) ~[catalina.jar:8.5.6]
>>     at java.lang.Class.forName0(Native Method) ~[?:1.8.0_66]
>>     at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_66]
>>     at org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:923)
>> ~[commons-lang3-3.5.jar:3.5]
>>     at org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:989)
>> ~[commons-lang3-3.5.jar:3.5]
>>     at org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:972)
>> ~[commons-lang3-3.5.jar:3.5]
>>     at 
>> org.apereo.cas.configuration.support.Beans.newConnectionFactory(Beans.java:431)
>> ~[cas-server-core-configuration-5.1.0-RC2-SNAPSHOT.jar:5.1.
>> 0-RC2-SNAPSHOT]
>>     at 
>> org.apereo.cas.configuration.support.Beans.newBlockingConnectionPool(Beans.java:447)
>> ~[cas-server-core-configuration-5.1.0-RC2-SNAPSHOT.jar:5.1.
>> 0-RC2-SNAPSHOT]
>>     at 
>> org.apereo.cas.configuration.support.Beans.newPooledConnectionFactory(Beans.java:499)
>> ~[cas-server-core-configuration-5.1.0-RC2-SNAPSHOT.jar:5.1.
>> 0-RC2-SNAPSHOT]
>>
>> =======================================
>> Thanks
>> Seshu
>>
>> On Monday, January 9, 2017 at 8:34:17 PM UTC+5:30, sravani patla wrote:
>>>
>>> Hi,
>>>
>>> I felt the errors are due to Libraries.Please can you help with with
>>> LDAP configurations,Thanks in advance
>>>
>>> Thanks,
>>> Sravani
>>>
>>> On Mon, Jan 9, 2017 at 2:06 AM, Uxío Prego <[email protected]> wrote:
>>>
>>>> Are you sure the cause is a problem with libraries? Why not LDAP
>>>> misconfiguration?
>>>>
>>>> 2017-01-08 15:49 GMT+01:00 sravani patla <[email protected]>:
>>>>
>>>>> Hello Team,
>>>>>
>>>>> I tried to deploy CAS with LDAP server and i ended up with few
>>>>> errors.Please just check the errors. I have attached the document and
>>>>> Please let me Know anyone can help me
>>>>>
>>>>>
>>>>> Thanks
>>>>> Sravani
>>>>>
>>>>> --
>>>>> - CAS gitter chatroom: https://gitter.im/apereo/cas
>>>>> - CAS mailing list guidelines: https://apereo.github.io/cas/M
>>>>> ailing-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/59cb
>>>>> eee6-1c29-4345-acb2-a6ae7654f18f%40apereo.org
>>>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/59cbeee6-1c29-4345-acb2-a6ae7654f18f%40apereo.org?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>
>>>> --
>>>> - CAS gitter chatroom: https://gitter.im/apereo/cas
>>>> - CAS mailing list guidelines: https://apereo.github.io/cas/M
>>>> ailing-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/ap
>>>> ereo.org/d/msgid/cas-user/CANidDKbOx9LgC_piWP%3DTH_Xbkgin-
>>>> DWtxXzD9wtTv1w-YH9pCw%40mail.gmail.com
>>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANidDKbOx9LgC_piWP%3DTH_Xbkgin-DWtxXzD9wtTv1w-YH9pCw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks&Regards
>>> Sravani
>>>
>> --
> - 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/7f394e15-6711-4a18-9dba-
> 9aaa591f6c6f%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/7f394e15-6711-4a18-9dba-9aaa591f6c6f%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- 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/CALpZ%2BOSU3xKMf5w5nHSnYranr4toBKBaoHJjegNTKW03AZH4BA%40mail.gmail.com.

Reply via email to