Hi Ray, Thanks for your answer.
That's what i tough too, but i've made some greps in the deployed files, searching for the values "failure.threshold" or "failureThreshold", and i found nothing. I've see in the Class AbstractThrottledSubmissionHandlerInterceptorAdapter ( https://apereo.github.io/cas/4.2.x/javadocs/org/jasig/cas/web/support/AbstractThrottledSubmissionHandlerInterceptorAdapter.html) that 100 and 60 are the default values if the config is not set. So i tough this is a configuration problem or a bug somewhere. I don't really understand because i strictly followed the Throttling documentation. I keep looking... 2017-02-10 18:49 GMT+01:00 Ray Bon <[email protected]>: > Armando, > > It looks like there are two different jobs being created. Is it possible > that two beans are being defined (search in the deployed files)? > > Ray > > > On 10/02/17 05:09 AM, Armando Martins wrote: > > Hi, > > I'm trying to configure Throttling on my cas server but it seems that > doesn't work. > > Here is my configuration : > cas.properties : > cas.throttle.failure.threshold=1 > cas.throttle.failure.range.seconds=3 > > deployerConfigContext.xml > <alias name="inMemoryIpAddressThrottle" alias="authenticationThrottle" /> > > In my cas.log (debug mode) i see some strange things : > 2017-02-10 13:56:47,633 DEBUG [org.jasig.cas.util.CasSpringBeanJobFactory] > - Created job org.jasig.cas.web.support.InMemoryThrottledSubmissionByI > pAddressHandlerInterceptorAdapter@33897e39[failureThreshold= > 1,failureRangeInSeconds=3,usernameParameter=username,thresholdRate=0.0] > for bundle org.quartz.spi.TriggerFiredBundle@6b45e54d > 2017-02-10 13:56:52,633 DEBUG [org.jasig.cas.util.CasSpringBeanJobFactory] > - Created job org.jasig.cas.web.support.InMemoryThrottledSubmissionByI > pAddressHandlerInterceptorAdapter@5dd3cc15[failureThreshold= > 100,failureRangeInSeconds=60,usernameParameter=username,thresholdRate=0.0] > for bundle org.quartz.spi.TriggerFiredBundle@8f812fc > > I don't understand why my values for failureThreshold and > failureRangeInSeconds are changed 100 and 60 > > Thanks for your help. > > -- > Armando Martins > -- > - CAS gitter chatroom: https://gitter.im/apereo/cas > - CAS mailing list guidelines: https://apereo.github.io/cas/ > Mailing-Lists.html > - CAS documentation website: https://apereo.github.io/cas > - CAS project website: https://github.com/apereo/cas > --- > 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/CAPs8K2p8fyT323du2gNm3ZGKL8M0% > 2BttvS3%3DJCRkVJmLVeBqwiQ%40mail.gmail.com > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAPs8K2p8fyT323du2gNm3ZGKL8M0%2BttvS3%3DJCRkVJmLVeBqwiQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > > -- > Ray Bon > Programmer Analyst > Development Services, University Systems2507218831 <(250)%20721-8831> | CLE > C023 | [email protected] > > -- > - CAS gitter chatroom: https://gitter.im/apereo/cas > - CAS mailing list guidelines: https://apereo.github.io/cas/ > Mailing-Lists.html > - CAS documentation website: https://apereo.github.io/cas > - CAS project website: https://github.com/apereo/cas > --- > 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/f9fa1dd1-e1c7-8397-3af9-7516a6c7509f%40uvic.ca > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/f9fa1dd1-e1c7-8397-3af9-7516a6c7509f%40uvic.ca?utm_medium=email&utm_source=footer> > . > -- Armando Martins -- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://github.com/apereo/cas --- 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/CAPs8K2pj5UO3j%3DyBV7wKhe2O-DYxo0iLFNrF9M4EdTMOSsAz-A%40mail.gmail.com.
