Verifying the identity of a user to determine whether the user is allowable to access resources in an information system or not.
We use Authentication in Spring boot by using the annotation AuthenticationManager. it can do three options :
It mainly used to decied if the request should be authenticated. we basiclly use it in two steps :
Finally / we must notice that spring boot is thread-bound