Interface MatchingStrategy
-
- All Known Subinterfaces:
TextMatchingStrategy
public interface MatchingStrategyThe Interface MatchingStrategy adopts the various matching strategies across all authtypes and its corresponding attributes.- Author:
- Arun Bose
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default MatchFunctiongetMatchFunction()gets the MatchFunction.default MatchingStrategygetMatchingStrategy()Gets 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 Detail
-
getType
default MatchingStrategyType getType()
Gets the type.- Returns:
- the type
-
getMatchFunction
default MatchFunction getMatchFunction()
gets the MatchFunction.- Returns:
- MatchFunction
-
match
default int match(Map<String,String> reqValues, Map<String,String> entityValues, Map<String,Object> matchProperties) throws IdAuthenticationBusinessException
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
default MatchingStrategy getMatchingStrategy()
Gets the matching strategy.- Returns:
- the matching strategy
-
-