@Component public class IdInfoHelper extends Object
| Constructor and Description |
|---|
IdInfoHelper() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAllowedLang()
Extract allowed lang.
|
Map<String,String> |
getAuthReqestInfo(MatchType matchType,
AuthRequestDTO authRequestDTO)
Get Authrequest Info.
|
String |
getEntityInfoAsString(MatchType matchType,
Map<String,List<IdentityInfoDTO>> demoEntity)
Gets the entity info as string.
|
String |
getEntityInfoAsString(MatchType matchType,
String langCode,
Map<String,List<IdentityInfoDTO>> demoEntity)
Gets the entity info as string.
|
Map<String,String> |
getIdEntityInfoMap(MatchType matchType,
Map<String,List<IdentityInfoDTO>> identityInfos,
String language)
Gets the entity info map.
|
List<String> |
getIdMappingValue(IdMapping idMapping,
MatchType matchType)
Gets the id mapping value.
|
boolean |
isMatchtypeEnabled(MatchType matchType)
To check Whether Match type is Enabled.
|
List<MatchOutput> |
matchIdentityData(AuthRequestDTO authRequestDTO,
Map<String,List<IdentityInfoDTO>> identityEntity,
Collection<MatchInput> listMatchInputs,
String partnerId)
Match demo data.
|
List<MatchOutput> |
matchIdentityData(AuthRequestDTO authRequestDTO,
String uin,
Collection<MatchInput> listMatchInputs,
EntityValueFetcher entityValueFetcher,
String partnerId)
Match identity data.
|
public Map<String,String> getAuthReqestInfo(MatchType matchType, AuthRequestDTO authRequestDTO)
matchType - the match typeauthRequestDTO - the auth request DTOpublic List<String> getIdMappingValue(IdMapping idMapping, MatchType matchType) throws IdAuthenticationBusinessException
idMapping - the id mappingmatchType - the match typeIdAuthenticationBusinessException - the id authentication business exceptionpublic boolean isMatchtypeEnabled(MatchType matchType)
matchType - the match typepublic String getEntityInfoAsString(MatchType matchType, Map<String,List<IdentityInfoDTO>> demoEntity) throws IdAuthenticationBusinessException
matchType - the match typedemoEntity - the demo entityIdAuthenticationBusinessException - the id authentication business exceptionpublic String getEntityInfoAsString(MatchType matchType, String langCode, Map<String,List<IdentityInfoDTO>> demoEntity) throws IdAuthenticationBusinessException
matchType - the match typelangCode - the lang codedemoEntity - the demo entityIdAuthenticationBusinessException - the id authentication business exceptionpublic Map<String,String> getIdEntityInfoMap(MatchType matchType, Map<String,List<IdentityInfoDTO>> identityInfos, String language) throws IdAuthenticationBusinessException
matchType - the match typeidentityInfos - the demo entitylanguage - the languageIdAuthenticationBusinessException - the id authentication business exceptionpublic List<MatchOutput> matchIdentityData(AuthRequestDTO authRequestDTO, Map<String,List<IdentityInfoDTO>> identityEntity, Collection<MatchInput> listMatchInputs, String partnerId) throws IdAuthenticationBusinessException
authRequestDTO - the identity DTOidentityEntity - the demo entitylistMatchInputs - the list match inputspartnerId - the partner idIdAuthenticationBusinessException - the id authentication business
exceptionpublic List<MatchOutput> matchIdentityData(AuthRequestDTO authRequestDTO, String uin, Collection<MatchInput> listMatchInputs, EntityValueFetcher entityValueFetcher, String partnerId) throws IdAuthenticationBusinessException
authRequestDTO - the auth request DTOuin - the uinlistMatchInputs - the list match inputsentityValueFetcher - the entity value fetcherpartnerId - the partner idIdAuthenticationBusinessException - the id authentication business
exceptionCopyright © 2020. All rights reserved.