Spring VS authentication provider authentication provider

should both spring authentication provider and authentication filter also need to register with authenticationManager?

authentication provider i can use the tag custom-authentication-provider

but what other spring authentication provider and authentication filter?

+6
java spring spring-mvc spring-security
source share
1 answer

The authentication manager uses all authentication providers to authenticate the authentication that it must authenticate.

The authentication processing filter simply adds a token (user password). Other filters also add tokens. For example, an anonymous processing process.

The idea is to split token generation with token authentication. This way you can easily implement things like authentication against multiple sources.

The usual case is one supplier per token generator.

+9
source share

All Articles