Spring Security Concepts: Difference between revisions
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
=Spring Boot and Security= | =Spring Boot and Security= | ||
Spring Security is enabled by the following [[Spring_Boot_Concepts#Spring_Boot_Starter_Dependency|Spring Boot starter dependency]]: | |||
<syntaxhighlight lang='groovy'> | |||
dependencies { | |||
implementation('org.springframework.boot:spring-boot-starter-security') | |||
} | |||
</syntaxhighlight> | |||
Spring Boot autoconfiguration will detect that Spring Security artifacts are in the class path and for a web application, basic security will be enabled: | |||
=User Store= | =User Store= |
Revision as of 17:59, 21 October 2018
Internal
Spring Boot and Security
Spring Security is enabled by the following Spring Boot starter dependency:
dependencies {
implementation('org.springframework.boot:spring-boot-starter-security')
}
Spring Boot autoconfiguration will detect that Spring Security artifacts are in the class path and for a web application, basic security will be enabled: