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' means for the intercept-url pattern the spring security provides the default login screen
auto-config="true"
is equivalent to:
<http>
<form-login />
<http-basic />
<logout />
</http>
so it gives you a very basic security configuration to boot.
Source: https://docs.spring.io/spring-security/site/docs/3.1.x/reference/springsecurity-single.html#ns-auto-config
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With