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/51a9b3d8-9b0a-4444-9f57-81acde0948b5%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to