Some of the following are the most important components of the Spring Security:
- SecurityContextHolder: One of the key objects, SecurityContextHolder is used to hold the security context information of the principal (users, external system, device, and so on), currently interacting with the application. It is important to note that the security context information is stored in a ThreadLocal object and, thus, it is available to all members running in the current thread. This, essentially, means that the security context information may not need to pass explicitly between different methods executing in the same thread.
- SecurityContext: As mentioned earlier, SecurityContext is stored within ...