spring-config中的auto-config = true有什么用? [英] what is the use of auto-config=true in spring security
本文介绍了spring-config中的auto-config = true有什么用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在spring security中使用auto-config = true有什么用?
在哪种情况下我们应该使用它。
使用auto-config = true的实际用途是什么?
what is the use of auto-config=true in spring security. In which scenario we should use this. what is the actual use of using auto-config=true ?
推荐答案
auto- config =true
相当于:
<http>
<form-login />
<http-basic />
<logout />
</http>
因此它为您提供了一个非常基本的安全配置来启动。
so it gives you a very basic security configuration to boot.
这篇关于spring-config中的auto-config = true有什么用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文