зеркало из
				https://github.com/iharh/notes.git
				synced 2025-11-03 23:26:09 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			12 строки
		
	
	
		
			452 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			12 строки
		
	
	
		
			452 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
1. unite username and pwd into  UsernamePasswordAuthenticationToken
 | 
						|
    then it passed to AuthenticationManager for comparison
 | 
						|
 | 
						|
2. Throw BadCredentialsException if does not match
 | 
						|
    LoggedDaoAuthenticationProvider
 | 
						|
    SamlAuthenticationProvider/SamlAuthenticationProviderFilter
 | 
						|
 | 
						|
3. In case of success - return Authentication object
 | 
						|
 | 
						|
4. Object, returned by AuthenticationManager, passed to
 | 
						|
    SecurityContextHolder.getContext().setAuthentication(...)
 |