I'm seeing this too. Attached image of debugging shows it goes to the wrong resolveFrom method in org.apereo.inspektr.audit.spi.support.DefaultAuditActionResolver. ie one version of the method takes an Object (for success messages) and the other takes an Exception (for failure). It should go to the failure one since it's passing an AuthenticationException and that's closer to Exception than Object in the class hierarchy.
On 11 January 2018 at 07:35, Mohsen Ebrahimi <[email protected]> wrote: > Hello > > It works fine in 5.2. I think it's a bug. > > Thank you > > > 2018-01-11 02:18:15,693 WARN > [org.apereo.cas.authentication.LdapAuthenticationHandler] > - <DN resolution failed. [DN cannot be null]> > 2018-01-11 02:18:15,694 ERROR [org.apereo.cas.authentication. > PolicyBasedAuthenticationManager] - <Authentication has failed. > Credentials may be incorrect or CAS cannot find authentication handler that > supports [wronguser] of type [UsernamePasswordCredential].> > 2018-01-11 02:18:15,697 INFO > [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] > - <Audit trail record BEGIN > ============================================================= > WHO: wronguser > WHAT: Supplied credentials: [wronguser] > ACTION: AUTHENTICATION_SUCCESS > APPLICATION: CAS > WHEN: Thu Jan 11 02:18:15 EST 2018 > > -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > 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/5d686a56463686a943ec76d5ae0fde > 8f%40of.iut.ac.ir > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/5d686a56463686a943ec76d5ae0fde8f%40of.iut.ac.ir?utm_medium=email&utm_source=footer> > . > -- This email is sent on behalf of Northgate Public Services (UK) Limited and its associated companies including Rave Technologies (India) Pvt Limited (together "Northgate Public Services") and is strictly confidential and intended solely for the addressee(s). If you are not the intended recipient of this email you must: (i) not disclose, copy or distribute its contents to any other person nor use its contents in any way or you may be acting unlawfully; (ii) contact Northgate Public Services immediately on +44(0)1442 768445 quoting the name of the sender and the addressee then delete it from your system. Northgate Public Services has taken reasonable precautions to ensure that no viruses are contained in this email, but does not accept any responsibility once this email has been transmitted. You should scan attachments (if any) for viruses. Northgate Public Services (UK) Limited, registered in England and Wales under number 00968498 with a registered address of Peoplebuilding 2, Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, Hertfordshire, HP2 4NW. Rave Technologies (India) Pvt Limited, registered in India under number 117068 with a registered address of 2nd Floor, Ballard House, Adi Marzban Marg, Ballard Estate, Mumbai, Maharashtra, India, 400001. -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- 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/CAD0p8pt8gKwietK0sTJLvCsaKJRhoOkioksstazAKUe%2BOOKiBg%40mail.gmail.com.
