Package org.apache.catalina.realm
Class NestedCredentialHandler
java.lang.Object
org.apache.catalina.realm.NestedCredentialHandler
- All Implemented Interfaces:
- CredentialHandler
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddCredentialHandler(CredentialHandler handler) booleanChecks to see if the input credentials match the stored credentialsThe input credentials will be passed to the first nestedCredentialHandler.
- 
Constructor Details- 
NestedCredentialHandlerpublic NestedCredentialHandler()
 
- 
- 
Method Details- 
matchesDescription copied from interface:CredentialHandlerChecks to see if the input credentials match the stored credentials- Specified by:
- matchesin interface- CredentialHandler
- Parameters:
- inputCredentials- User provided credentials
- storedCredentials- Credentials stored in the- Realm
- Returns:
- trueif the inputCredentials match the storedCredentials, otherwise- false
 
- 
mutateThe input credentials will be passed to the first nestedCredentialHandler. If no nestedCredentialHandlerare configured thennullwill be returned. Generates the equivalent stored credentials for the given input credentials.- Specified by:
- mutatein interface- CredentialHandler
- Parameters:
- inputCredentials- User provided credentials
- Returns:
- The equivalent stored credentials for the given input credentials
 
- 
addCredentialHandler
- 
getCredentialHandlers
 
-