- All Known Subinterfaces:
@NonNullByDefault public interface AuthenticationProvider
Realizations of this type are responsible for checking validity of various credentials and giving back authentication which defines access scope for authenticated user or system.
- Łukasz Dywicki - Initial contribution
Method SummaryModifier and TypeMethodDescriptionVerify given credentials and give back authentication if they are valid.
booleanAdditional method to verify if given authentication provider can handle given type of credentials.
authenticateVerify given credentials and give back authentication if they are valid.
credentials- User credentials.
- null if credentials were not valid for this provider
AuthenticationException- if authentication failed due to credentials mismatch.
supportsAdditional method to verify if given authentication provider can handle given type of credentials.
type- Type of credentials.
- True if credentials of given type can be used for authentication attempt with provider.