5cc83c631b
* Imported junit bom before spring-boot-dependencies bom with correct version * Changed spring-boot-libraries * Changed spring-boot-mvc * Changed spring-boot-mvc-2 * Added and changed spring-boot-mvc-3 * Added and changed spring-boot-mvc-birt * Added and changed spring-boot-nashorn * Changed spring-boot-parent and its submodules * Changed spring-boot-performance * Changed spring-boot-properties * Changed spring-boot-properties-2 * Changed spring-boot-runtime and its sub-modules * Changed spring-boot-security * Changed spring-boot-springdoc * Changed spring-boot-testing * Changed spring-boot-vue |
||
---|---|---|
.. | ||
src | ||
README.md | ||
pom.xml |
README.md
Spring Boot Security
This module contains articles about Spring Boot Security
Relevant Articles:
- Spring Boot Security Auto-Configuration
- Spring Security for Spring Boot Integration Tests
- Introduction to Spring Security Taglibs
- Guide to @CurrentSecurityContext in Spring Security
Spring Boot Security Auto-Configuration
- mvn clean install
- uncomment actuator dependency simultaneously with the line from basic auth main class
- uncomment security properties for easy testing. If not random will be generated.
CURL commands
- curl -X POST -u baeldung-admin:baeldung -d grant_type=client_credentials -d username=baeldung-admin -d password=baeldung http://localhost:8080/oauth/token