Unable to use CAS v6

60 views
Skip to first unread message

David Kowis

unread,
Oct 5, 2019, 5:23:00 PM10/5/19
to cas-...@apereo.org
https://www.mail-archive.com/cas...@apereo.org/msg00663.html

Seems as though there's a pretty significant problem with LDAP password
reset email stuff. :(

I haven't been able to figure out what the actual problem is, so I'm
having to go back to 5.3.x...

I was wondering if anyone else has had this problem, or most people are
just on 5.3.x for the time being?

Thanks!

Alberto Cabello Sánchez

unread,
Oct 8, 2019, 6:02:41 AM10/8/19
to cas-...@apereo.org
Hi, David,

I am currently working on CAS 6 customization and it works pretty well
without Password Management.

The problem you refer to claims to be caused by

java.lang.NullPointerException: null at
org.apereo.cas.util.LdapUtils.lambda$newLdaptiveSearchFilter$3
(LdapUtils.java:530)

In org/apereo/cas/util/LdapUtils.java there is a debug statement related
to it:

LOGGER.debug("Constructed LDAP search filter [{}]", filter.format());

So maybe setting a more verbose log level and checking the constructed search
filter will be helpful.

Regards
--
Alberto Cabello Sánchez
Servicio de Informática
Universidad de Extremadura

David Kowis

unread,
Oct 14, 2019, 12:33:06 PM10/14/19
to cas-...@apereo.org


On 10/8/19 5:02 AM, Alberto Cabello Sánchez wrote:
> Hi, David,
>
> I am currently working on CAS 6 customization and it works pretty well
> without Password Management.

I too have moved on to not using Password Management, and have instead
eyeballed https://github.com/pwm-project/pwm as a standalone solution.

I don't have time yet to dig into the internals of CAS, unfortunately.
But perhaps in the future I can.

>
> The problem you refer to claims to be caused by
>
> java.lang.NullPointerException: null at
> org.apereo.cas.util.LdapUtils.lambda$newLdaptiveSearchFilter$3
> (LdapUtils.java:530)
>
> In org/apereo/cas/util/LdapUtils.java there is a debug statement related
> to it:
>
> LOGGER.debug("Constructed LDAP search filter [{}]", filter.format());
>
> So maybe setting a more verbose log level and checking the constructed search
> filter will be helpful.

Thanks for investigating that for me!
Reply all
Reply to author
Forward
0 new messages