OK, this got interesting J I was hoping I could blame your handler for doing something weird but offhand I don’t see much. So go ahead and submit and issue please, and attach your overlay to the issues project.
From: Claude Viéville [mailto:[email protected]] Sent: Tuesday, June 21, 2016 10:56 PM To: CAS Community <[email protected]> Cc: [email protected] Subject: Re: [cas-user] JSON Service for CAS Client does not follow success message of required Handler here is the link to the gist : https://gist.github.com/vieville/9c116fcdd0dfea70268b89d67c0c4b0c Le mercredi 22 juin 2016 03:48:43 UTC+2, Misagh Moayyed a écrit : You wrote L1LdapAuthenticationHandler.java, correct? Can you share it as a gist, etc? From: Claude Viéville [mailto:[email protected] <javascript:> ] Sent: Monday, June 20, 2016 7:03 AM To: CAS Community <[email protected] <javascript:> > Cc: [email protected] <javascript:> Subject: Re: [cas-user] JSON Service for CAS Client does not follow success message of required Handler Hello Misagh, Sorry for the delay but I was out of my ofiice these last days. cas-1.log is the log when the first handler sucesses with "vieville" : in this case the second handler is not runned by the authenticationManager despite of tryAll == true The policy (AnyAuthenticationPolicy) is always satisfied when tryAll == true @Override public boolean isSatisfiedBy(final Authentication authn) { if (this.tryAll) { return authn.getCredentials().size() == authn.getSuccesses().size() + authn.getFailures().size(); } return !authn.getSuccesses().isEmpty(); } cas-2.log is a file log when the first handler is not satisfied. As you can see, a stack error is raised and the authentication fails. I hope the files logs may help you understand the behavior best regards, Claude -- 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 post to this group, send email to [email protected]. 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/00a001d1cc9a%24d355cae0%247a0160a0%24%40unicon.net. For more options, visit https://groups.google.com/a/apereo.org/d/optout.
