Am 13.02.2017 18:45, schrieb 'Philippe MARASSE' via CAS Community:
> Fine, my last attempt was with 5.1-SNAP but it worked with 5.0 also.
>
> I had to overload :
> - SpengoWebflowConfigurer (add new end state views)
> - SpengoWebflowConfig
> - SpnegoNegociateCredentialsAction to modify default behavior
>
> create/ overload html templates for views :
> - casSpnegoNegotiateView.html (first 401 view)
> - casSpnegoAuthenticationFailureView.html (auth failure view)
> - casSpnegoErrorView.html (all other errors view)
Thanks for your info, but I found an easier way.
Put
cas.authn.spnego.mixedModeAuthentication=true
into your cas.properties.
That way the first page will have the login page as the body, even when
the browser is spnego capable
(or what cas thinks are spnego capable browsers) and the browser did not
send an authenticate header.
No special overloading of classes or webflows :)
Regards,