Interface IdService<T>
- Type Parameters:
T- the generic type
public interface IdService<T>
The Interface IdAuthService.
- Author:
- Arun Bose
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckIdKeyBindingPermitted(String idvId, String idvIdType) Gets the Identity Transaction Limit.getDemoData(Map<String, Object> identity) Gets the demo data.getIdByUin(String uin, boolean isBio, Set<String> filterAttributes) validates the UIN.getIdByVid(String vid, boolean isBio, Set<String> filterAttributes) validates the VID.Gets the IdHash.Gets the token .processIdType(String idvIdType, String idvId, boolean isBio, boolean markVidConsumed, Set<String> filterAttributes) Process id type.voidsaveAutnTxn(T t) Store entry in Auth_txn table for all authentications.
-
Method Details
-
getIdByUin
Map<String,Object> getIdByUin(String uin, boolean isBio, Set<String> filterAttributes) throws IdAuthenticationBusinessException validates the UIN.- Parameters:
uin- the uinisBio- the is bio- Returns:
- the id repo by uin number
- Throws:
IdAuthenticationBusinessException- the id authentication business exception
-
getIdByVid
Map<String,Object> getIdByVid(String vid, boolean isBio, Set<String> filterAttributes) throws IdAuthenticationBusinessException validates the VID.- Parameters:
vid- the vidisBio- the is bio- Returns:
- the id repo by vid number
- Throws:
IdAuthenticationBusinessException- the id authentication business exception
-
processIdType
Map<String,Object> processIdType(String idvIdType, String idvId, boolean isBio, boolean markVidConsumed, Set<String> filterAttributes) throws IdAuthenticationBusinessException Process id type.- Parameters:
idvIdType- the idv id typeidvId- the idv idisBio- the is biomarkVidConsumed- the flag to mark VID consumed- Returns:
- the map
- Throws:
IdAuthenticationBusinessException- the id authentication business exception
-
saveAutnTxn
Store entry in Auth_txn table for all authentications.- Parameters:
t- the t- Throws:
IdAuthenticationBusinessException- the id authentication business exception
-
getDemoData
Gets the demo data.- Parameters:
identity- the identity- Returns:
- the demo data
-
getToken
Gets the token .- Parameters:
idResDTO- the id res DTO- Returns:
- the token
-
getIdHash
Gets the IdHash.- Parameters:
idResDTO- the id res DTO- Returns:
- the Id Hash
-
checkIdKeyBindingPermitted
void checkIdKeyBindingPermitted(String idvId, String idvIdType) throws IdAuthenticationBusinessException Gets the Identity Transaction Limit.- Parameters:
idvId- the id/vididvIdType- the id/vid type- Throws:
IdAuthenticationBusinessException
-