Re: [cas-user] Need help CAS5 + LDAP Maven overlay misses few libraries needed for LDAP unbound Id

2017-08-03 Thread Josiah Philipsen
Have you gotten this resolved? I am getting the same error and I have:

csa-server-support-ldap
csa-server-support-ldap-core

I still get the unboindid error showing that the module is not available. 
When I search for that module in the maven overlay it appears to be in a 
test folder 
cas5.0.5/support/cas-server-support-ldap/src/test/resources/authn-context.xml. 
Is there something I need to do to get it into the main folder rather than 
test? When It builds in the docker container I am using it doesn't have it 
listed at all since it doesn't copy over the test folder. 

I'm not sure if this is helpful, but thought I would ask to see if there 
was a resolution. 

Thanks in advance for any response. 

On Saturday, January 14, 2017 at 11:59:32 AM UTC-8, mrcasa bengaluru wrote:
>
> Have you added the 
>
> cas-server-support-ldap-core 
> 
> 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  > 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] - 
>> 
>> 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.LdapAuthenticationConfiguration.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] - 
>>> 
>>> java.lang.ClassNotFoundException: 
>>> org.jasig.cas.authentication.LdapAuthenticationHandler
>>> 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)
>>>  

Re: [cas-user] Need help CAS5 + LDAP Maven overlay misses few libraries needed for LDAP unbound Id

2017-01-09 Thread Sravani
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  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 :
>
>> 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 cas-user+unsubscr...@apereo.org.
>> To view this discussion on the web visit https://groups.google.com/a/ap
>> ereo.org/d/msgid/cas-user/59cbeee6-1c29-4345-acb2-a6ae7654f1
>> 8f%40apereo.org
>> 
>> .
>>
>
> --
> - 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 cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/CANidDKbOx9LgC_piWP%3DTH_
> Xbkgin-DWtxXzD9wtTv1w-YH9pCw%40mail.gmail.com
> 
> .
>



-- 
Thanks
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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CABdzCWSwZBSD1VH%3DCFk9V_ayD6%2BPoan%2BCTBrefb1tqY%2BZoCGNw%40mail.gmail.com.


Re: [cas-user] Need help CAS5 + LDAP Maven overlay misses few libraries needed for LDAP unbound Id

2017-01-08 Thread Uxío Prego
Are you sure the cause is a problem with libraries? Why not LDAP
misconfiguration?

2017-01-08 15:49 GMT+01:00 sravani patla :

> 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/
> 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 cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/59cbeee6-1c29-4345-acb2-
> a6ae7654f18f%40apereo.org
> 
> .
>

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANidDKbOx9LgC_piWP%3DTH_Xbkgin-DWtxXzD9wtTv1w-YH9pCw%40mail.gmail.com.