Interface MatchingStrategy
- All Known Subinterfaces:
TextMatchingStrategy
public interface MatchingStrategy
The Interface MatchingStrategy adopts the various matching strategies across all authtypes and its corresponding attributes.
- Author:
- Arun Bose
-
Method Summary
Modifier and TypeMethodDescriptiondefault MatchFunctiongets the MatchFunction.default MatchingStrategyGets the matching strategy.default MatchingStrategyTypegetType()Gets the type.default intmatch(Map<String, String> reqValues, Map<String, String> entityValues, Map<String, Object> matchProperties) this method matches the request Values with entity values.
-
Method Details
-
getType
Gets the type.- Returns:
- the type
-
getMatchFunction
gets the MatchFunction.- Returns:
- MatchFunction
-
match
default int match(Map<String, String> reqValues, Map<String, throws IdAuthenticationBusinessExceptionString> entityValues, Map<String, Object> matchProperties) this method matches the request Values with entity values.- Parameters:
reqValues- the req valuesentityValues- the entity valuesmatchProperties- the match properties- Returns:
- the int
- Throws:
IdAuthenticationBusinessException- the id authentication business exception
-
getMatchingStrategy
Gets the matching strategy.- Returns:
- the matching strategy
-