Package org.apache.catalina
Interface CredentialHandler
- 
- All Known Implementing Classes:
- DigestCredentialHandlerBase,- MessageDigestCredentialHandler,- NestedCredentialHandler,- SecretKeyCredentialHandler
 
 public interface CredentialHandler
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(java.lang.String inputCredentials, java.lang.String storedCredentials)Checks to see if the input credentials match the stored credentialsjava.lang.Stringmutate(java.lang.String inputCredentials)Generates the equivalent stored credentials for the given input credentials.
 
- 
- 
- 
Method Detail- 
matchesboolean matches(java.lang.String inputCredentials, java.lang.String storedCredentials)Checks to see if the input credentials match the stored credentials- Parameters:
- inputCredentials- User provided credentials
- storedCredentials- Credentials stored in the- Realm
- Returns:
- trueif the inputCredentials match the storedCredentials, otherwise- false
 
 - 
mutatejava.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
 
 
- 
 
-