As of HSEARCH-1662 Closed , the FailureHandler can be injected with dependencies when using Spring/CDI, and there are ways to inject dependencies (though more complex) when not using Spring/CDI too.
Let's reopen if a clear use case comes to mind.