I confirmed the overlay for the 403.html file.
Still don't understand *cas.authn.throttle.usernameParameter* though.
But worse, the observed behavior doesn't seem to match up with the properties set though. Using:
cas.authn.throttle.usernameParameter=username
cas.authn.throttle.failure.threshold=5
cas.authn.throttle.failure.code=AUTHENTICATION_FAILED
cas.authn.throttle.failure.rangeSeconds=120
However, when I test, on just the second failed authention attempt with a deliberately bad password, throttling is triggered and the following is logged:
WARN [org.apereo.cas.web.support.InMemoryThrottledSubmissionByIpAddressAndUsernameHandlerInterceptorAdapter] - <Throttling submission from 192.10.10.10. More than 5 failed login attempts within 120 seconds. Authentication attempt exceeds the failure threshold 5>
But there have definitely been fewer than 5 attempts for this IP address and username key pair.
If I add trace logging for InMemoryThrottledSubmissionByIpAddressAndUsernameHandlerInterceptorAdapter, I can also see entries for keys:
TRACE [org.apereo.cas.web.support.InMemoryThrottledSubmissionByIpAddressAndUsernameHandlerInterceptorAdapter] - <Removing entry for key 192.10.10.10;baron>
But nothing more specifically for how they are triggering the throttling policy.
Any suggestions?