Spring Security - multiple authentication-providers

后端 未结 2 1174
说谎
说谎 2020-12-19 21:11

My web app has multiple authentication managers (one for API one for WEB access). The api should have a basic auth service only - configured via the spring security markup a

2条回答
  •  南笙
    南笙 (楼主)
    2020-12-19 21:56

    Please keep in mind that this Spring Security XML namespace is just a neat way of organizing your XML. You could achieve exactly the same solution with plain config. That way you will be able to use ID, as usual. This blog post might be helpful for you.

提交回复
热议问题