зеркало из
				https://github.com/iharh/notes.git
				synced 2025-11-03 23:26:09 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			14 строки
		
	
	
		
			594 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 строки
		
	
	
		
			594 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
https://github.com/spring-projects/spring-security-oauth/tree/master/tests
 | 
						|
 | 
						|
@WithMockUser
 | 
						|
    username, roles, authorities
 | 
						|
@WithSecurityContext
 | 
						|
org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener;
 | 
						|
@TestExecutionListeners({WithSecurityContextTestExecutionListener.class, ...})
 | 
						|
 | 
						|
2023
 | 
						|
https://www.baeldung.com/spring-oauth-testing-access-control
 | 
						|
    https://github.com/eugenp/tutorials/tree/master/spring-security-modules/spring-security-oauth2-testing
 | 
						|
2019
 | 
						|
https://medium.com/@mark.hoogenboom/testing-a-spring-boot-application-secured-by-oauth-e40d1e9a6f60
 |