Package org.apache.catalina
Interface CredentialHandler
-
- All Known Implementing Classes:
DigestCredentialHandlerBase
,MessageDigestCredentialHandler
,NestedCredentialHandler
,SecretKeyCredentialHandler
public interface CredentialHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
matches(java.lang.String inputCredentials, java.lang.String storedCredentials)
Checks to see if the input credentials match the stored credentialsjava.lang.String
mutate(java.lang.String inputCredentials)
Generates the equivalent stored credentials for the given input credentials.
-
-
-
Method Detail
-
matches
boolean matches(java.lang.String inputCredentials, java.lang.String storedCredentials)
Checks to see if the input credentials match the stored credentials- Parameters:
inputCredentials
- User provided credentialsstoredCredentials
- Credentials stored in theRealm
- Returns:
true
if the inputCredentials match the storedCredentials, otherwisefalse
-
mutate
java.lang.String mutate(java.lang.String inputCredentials)
Generates the equivalent stored credentials for the given input credentials.- Parameters:
inputCredentials
- User provided credentials- Returns:
- The equivalent stored credentials for the given input credentials
-
-