| 
									
										
										
										
											2019-10-31 20:43:47 -05:00
										 |  |  |  | ## Spring Boot Security
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | This module contains articles about Spring Boot Security | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | ### Relevant Articles:
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | - [Spring Boot Security Auto-Configuration](https://www.baeldung.com/spring-boot-security-autoconfiguration) | 
					
						
							|  |  |  |  | - [Spring Security for Spring Boot Integration Tests](https://www.baeldung.com/spring-security-integration-tests) | 
					
						
							|  |  |  |  | - [Introduction to Spring Security Taglibs](https://www.baeldung.com/spring-security-taglibs) | 
					
						
							| 
									
										
										
										
											2020-02-10 23:07:00 +02:00
										 |  |  |  | - [Guide to @CurrentSecurityContext in Spring Security](https://www.baeldung.com/spring-currentsecuritycontext) | 
					
						
							| 
									
										
										
										
											2021-01-05 23:01:01 +05:30
										 |  |  |  | - [Disable Security for a Profile in Spring Boot](https://www.baeldung.com/spring-security-disable-profile) | 
					
						
							| 
									
										
										
										
											2021-11-17 09:20:17 +01:00
										 |  |  |  | - [Spring @EnableWebSecurity vs. @EnableGlobalMethodSecurity](https://www.baeldung.com/spring-enablewebsecurity-vs-enableglobalmethodsecurity) | 
					
						
							| 
									
										
										
										
											2022-02-23 19:46:49 +08:00
										 |  |  |  | - [Spring Security – Configuring Different URLs](https://www.baeldung.com/spring-security-configuring-urls) | 
					
						
							| 
									
										
										
										
											2021-01-05 23:01:01 +05:30
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  | ### 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 |