Any handler chains configured using the Spring configuration override the handler chains configured programmaticaly.