2019-12-06 10:39:55 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[authentication]]
							 
						 
					
						
							
								
									
										
										
										
											2019-11-27 08:05:44 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								= Authentication
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Spring Security provides comprehensive support for https://en.wikipedia.org/wiki/Authentication[authentication].
							 
						 
					
						
							
								
									
										
										
										
											2019-12-06 10:39:55 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Authentication is how we verify the identity of who is trying to access a particular resource.
							 
						 
					
						
							
								
									
										
										
										
											2019-11-27 08:05:44 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								A common way to authenticate users is by requiring the user to enter a username and password.
							 
						 
					
						
							
								
									
										
										
										
											2019-12-06 10:39:55 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Once authentication is performed we know the identity and can perform authorization.
							 
						 
					
						
							
								
									
										
										
										
											2019-11-27 08:05:44 -06:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-12-13 16:57:36 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Spring Security provides built-in support for authenticating users.
							 
						 
					
						
							
								
									
										
										
										
											2021-07-29 17:12:34 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								This section is dedicated to generic authentication support that applies in both Servlet and WebFlux environments.
							 
						 
					
						
							
								
									
										
										
										
											2025-03-11 23:09:26 +07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Refer to the sections on authentication for xref:servlet/authentication/index.adoc[Servlet] and xref:reactive/authentication/index.adoc[WebFlux] for details on what is supported for each stack.