Hello I\'m trying to build a spring boot app that works both as a web app and a restful api. I\'m using spring security and multiple http configurations to secure both purposes