Interface CredentialsResolver<A extends Credentials>
- Type Parameters:
A- The type of credentials
- All Known Subinterfaces:
- All Known Implementing Classes:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A credentials resolver is used to resolve credentials identified by a unique identifier from a trusted source.
Authenticator implementation can rely on a credentials resolver to resolve trusted credentials and compare them to the credentials provided by an entity using a
CredentialsMatcher during the authentication process. As a result, resolved credentials must come from trusted secured sources.
Returns trusted credentials for the specified identifier.
id- the identifier of the credentials to resolve
- a mono emitting the credentials or an empty mono if no credentials exist with the specified identifier
SecurityException- if there was an error during the resolution of credentials