public interface CredentialHandler
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.lang.String inputCredentials,
java.lang.String storedCredentials)
Checks to see if the input credentials match the stored credentials
|
java.lang.String |
mutate(java.lang.String inputCredentials)
Generates the equivalent stored credentials for the given input
credentials.
|
boolean matches(java.lang.String inputCredentials, java.lang.String storedCredentials)
inputCredentials
- User provided credentialsstoredCredentials
- Credentials stored in the Realm
true
if the inputCredentials match the
storedCredentials, otherwise false
java.lang.String mutate(java.lang.String inputCredentials)
inputCredentials
- User provided credentialsCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.