public enum BioAuthType extends Enum<BioAuthType> implements AuthType
| Enum Constant and Description |
|---|
FACE_IMG |
FGR_IMG |
FGR_IMG_COMPOSITE |
FGR_MIN |
FGR_MIN_COMPOSITE |
IRIS_COMP_IMG |
IRIS_IMG |
MULTI_MODAL |
DEFAULT_MATCHING_THRESHOLD| Modifier and Type | Method and Description |
|---|---|
AuthType |
getAuthTypeImpl() |
protected abstract Long |
getBioIdentityValuesCount(AuthRequestDTO reqDTO,
IdInfoFetcher helper) |
String |
getConfigNameValue() |
java.util.function.IntPredicate |
getCountPredicate()
Gets the count predicate.
|
Optional<String> |
getMatchingStrategy(AuthRequestDTO authReq,
String languageInfoFetcher)
To Get Matching Strategy
|
Optional<Integer> |
getMatchingThreshold(AuthRequestDTO authReq,
String languageInfoFetcher,
org.springframework.core.env.Environment environment,
IdInfoFetcher idInfoFetcher)
Get Matching Threshold
|
static Optional<BioAuthType> |
getSingleBioAuthTypeForType(String type)
This method accepts the bioType and it will return Optional of BioAuthType
only when the count is single.
|
protected String |
getThresholdConfigKey() |
static Optional<String> |
getTypeForConfigNameValue(String configNameValue) |
boolean |
isAuthTypeEnabled(AuthRequestDTO authReq,
IdInfoFetcher helper) |
boolean |
isAuthTypeInfoAvailable(AuthRequestDTO authRequestDTO) |
static BioAuthType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BioAuthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetAssociatedMatchTypes, getAuthTypeForMatchType, getAuthTypePredicate, getDisplayName, getDisplayName, getMatchProperties, getType, getTypes, isAssociatedMatchType, setOfpublic static final BioAuthType FGR_MIN
public static final BioAuthType FGR_IMG
public static final BioAuthType FGR_MIN_COMPOSITE
public static final BioAuthType FGR_IMG_COMPOSITE
public static final BioAuthType IRIS_COMP_IMG
public static final BioAuthType IRIS_IMG
public static final BioAuthType FACE_IMG
public static final BioAuthType MULTI_MODAL
public static BioAuthType[] values()
for (BioAuthType c : BioAuthType.values()) System.out.println(c);
public static BioAuthType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullprotected abstract Long getBioIdentityValuesCount(AuthRequestDTO reqDTO, IdInfoFetcher helper)
public boolean isAuthTypeEnabled(AuthRequestDTO authReq, IdInfoFetcher helper)
isAuthTypeEnabled in interface AuthTypepublic Optional<String> getMatchingStrategy(AuthRequestDTO authReq, String languageInfoFetcher)
getMatchingStrategy in interface AuthTypepublic Optional<Integer> getMatchingThreshold(AuthRequestDTO authReq, String languageInfoFetcher, org.springframework.core.env.Environment environment, IdInfoFetcher idInfoFetcher)
getMatchingThreshold in interface AuthTypepublic boolean isAuthTypeInfoAvailable(AuthRequestDTO authRequestDTO)
isAuthTypeInfoAvailable in interface AuthTypepublic static Optional<BioAuthType> getSingleBioAuthTypeForType(String type)
type - the typepublic static Optional<String> getTypeForConfigNameValue(String configNameValue)
public java.util.function.IntPredicate getCountPredicate()
public String getConfigNameValue()
protected String getThresholdConfigKey()
public AuthType getAuthTypeImpl()
getAuthTypeImpl in interface AuthTypeCopyright © 2020. All rights reserved.