Authentication failure supplied Credentials - Null

65 views
Skip to first unread message

Sankalp Sharma

unread,
May 2, 2016, 9:20:57 AM5/2/16
to CAS Community
Hi there,

I am setting up Cas 4.1.7 but I am stuck with the following error

2016-05-02 17:58:40,149 INFO [org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - <LdapAuthenticationHandler failed authenticating null>
2016-05-02 17:58:40,149 INFO [org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - <SearchModeSearchDatabaseAuthenticationHandler failed authenticating null>
2016-05-02 17:58:40,152 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN
=============================================================
WHO: null
WHAT: supplied credentials: [null]
ACTION: AUTHENTICATION_FAILED
APPLICATION: CAS
WHEN: Mon May 02 17:58:40 IST 2016
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================

I debug the code and  found out that only username is passed null as I can see the password during debugging in PolicyBasedAuthenticationManager class

Any help would be highly appreciated

Best Regards,
Sankalp

Zhou, Yan

unread,
May 2, 2016, 12:48:25 PM5/2/16
to Sankalp Sharma, CAS Community


I experienced something similar to this, because I forgot to put in this dependency in pom.  It resulted in run-time exception that does not show up in logs.

I was using Person Directory impl., not sure if that would be your problem.

        <!-- Study http://jasig.github.io/cas/4.1.x/integration/Attribute-Resolution.html -->
         <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-collections4</artifactId>
            <version>4.0</version>
        </dependency>

--
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+u...@apereo.org.
To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/098bb31a-c849-4a35-8ff9-37939f0d51ee%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Sankalp Sharma

unread,
May 3, 2016, 1:42:04 AM5/3/16
to CAS Community, sankal...@gmail.com
Hi Yan,

       No change in the error after adding the said dependency.
        I am still stuck with the same problem.

Regards,
Sankalp

Angel Guerra

unread,
Jul 12, 2017, 4:18:32 PM7/12/17
to CAS Community, sankal...@gmail.com
I have the same problem. did You find solution??
Reply all
Reply to author
Forward
0 new messages