Hi, I am trying to override a third party class from the recommended CSRF protection module for Tapestry: https://github.com/porscheinformatik/tapestry-csrf-protection/ Specifically, I would like to just override a method checkToken from CsrfTokenManager.java: https://github.com/porscheinformatik/tapestry-csrf-protection/blob/master/src/main/java/at/porscheinformatik/tapestry/csrfprotection/internal/CsrfTokenManager.java#L66
I tried to override the bind for CsrfTokenManager.class in https://github.com/porscheinformatik/tapestry-csrf-protection/blob/master/src/main/java/at/porscheinformatik/tapestry/csrfprotection/services/CsrfProtectionModule.java on my side but my overridden class is not being picked up as I think it is just a class and not an interface so it can’t be overridden? Is there any other workaround to override this third party class rather than copying across all the other associated code in this module? Thanks, -- Niran Abeygunawardena Senior Technical Architect T +44(0)1223 271264 Time zone: BST/GMT ProQuest Part of Clarivate about.proquest.com<https://about.proquest.com/en/> clarivate.com<https://clarivate.com/> Confidentiality note: This e-mail may contain confidential information from Clarivate. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this e-mail is strictly prohibited. If you have received this e-mail in error, please delete this e-mail and notify the sender as soon as possible.