Interface TextMatchingStrategy
- All Superinterfaces:
MatchingStrategy
The Interface MatchingStrategy.
- Author:
- Arun Bose
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault intmatch(Map<String, String> reqValues, Map<String, String> entityValues, Map<String, Object> matchProperties) this method matches the request Values with entity values.static intnormalizeAndMatch(Object reqInfo, Object entityInfo, Map<String, Object> props, TextMatchingStrategy.NormalizeFunction normalizeFunction, BiFunction<String, String, Integer> matchFunction) Methods inherited from interface io.mosip.authentication.core.spi.indauth.match.MatchingStrategy
getMatchFunction, getMatchingStrategy, getType
-
Method Details
-
match
default int match(Map<String, String> reqValues, Map<String, throws IdAuthenticationBusinessExceptionString> entityValues, Map<String, Object> matchProperties) Description copied from interface:MatchingStrategythis method matches the request Values with entity values.- Specified by:
matchin interfaceMatchingStrategy- Parameters:
reqValues- the req valuesentityValues- the entity valuesmatchProperties- the match properties- Returns:
- the int
- Throws:
IdAuthenticationBusinessException- the id authentication business exception
-
normalizeAndMatch
static int normalizeAndMatch(Object reqInfo, Object entityInfo, Map<String, Object> props, TextMatchingStrategy.NormalizeFunction normalizeFunction, BiFunction<String, throws IdAuthenticationBusinessExceptionString, Integer> matchFunction)
-