Package com.appliedrec.verid.core2
Class UserManagementFactory
- java.lang.Object
-
- com.appliedrec.verid.core2.UserManagementFactory
-
- All Implemented Interfaces:
IUserManagementFactory
public class UserManagementFactory extends java.lang.Object implements IUserManagementFactory
Default implementation ofIUserManagementFactory
.Uses Room persistence library.
- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description UserManagementFactory(android.content.Context context)
ConstructorUserManagementFactory(android.content.Context context, boolean disableEncryption, boolean enableAutomaticFaceTemplateMigration)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IUserManagement
createUserManagement()
Create an instance ofUserManagement
.boolean
isAutomaticFaceTemplateMigrationEnabled()
boolean
isEncryptionDisabled()
void
setDisableEncryption(boolean disableEncryption)
void
setEnableAutomaticFaceTemplateMigration(boolean enableAutomaticFaceTemplateMigration)
-
-
-
Constructor Detail
-
UserManagementFactory
public UserManagementFactory(android.content.Context context)
Constructor- Parameters:
context
- Application context- Since:
- 1.0.0
-
UserManagementFactory
public UserManagementFactory(android.content.Context context, boolean disableEncryption, boolean enableAutomaticFaceTemplateMigration)
Constructor- Parameters:
context
- Application contextdisableEncryption
- true to disable face template encryption- Since:
- 1.12.0
-
-
Method Detail
-
createUserManagement
public IUserManagement createUserManagement()
Create an instance ofUserManagement
.- Specified by:
createUserManagement
in interfaceIUserManagementFactory
- Returns:
- User management
- Since:
- 1.0.0
-
setDisableEncryption
public void setDisableEncryption(boolean disableEncryption)
-
setEnableAutomaticFaceTemplateMigration
public void setEnableAutomaticFaceTemplateMigration(boolean enableAutomaticFaceTemplateMigration)
-
isEncryptionDisabled
public boolean isEncryptionDisabled()
-
isAutomaticFaceTemplateMigrationEnabled
public boolean isAutomaticFaceTemplateMigrationEnabled()
-
-