@FunctionalInterface public static interface CredentialsContainer.CredentialsMatcher
Modifier and Type | Method and Description |
---|---|
boolean |
credentialsMatch(CredentialsContainer provided,
CredentialsContainer stored)
Check if provided credentials match the given stored credentials
|
boolean credentialsMatch(CredentialsContainer provided, CredentialsContainer stored) throws AuthenticationException
provided
- Provided credentialsstored
- Stored credentials to matchtrue
if the provided credentials match the stored credentials, false
otherwise.AuthenticationException
- Error during credentials match (e.g. invalid or unknown credentials)Copyright © 2018 The Holon Platform. All rights reserved.