Sorry guys, maybe a silly question.
But I need to implement some additional logic for authentication and authorization in my web app and I've not clear in mind where AuthenticationProvider
and AuthenticationEntryPoint
must be used.
Looking for some examples I somethimes find that an AuthenticationEntryPoint
is omitted in security:http
section.
But there are situations where also AuthenticationProvider
is omitted (a default instance is provided by the framework?) and only a UserDetailsService
implementation is needed.
Please, can you clarify some basic concepts?