HID APPROVE SDK  5.12
HID Approve SDK for Android
com.hidglobal.ia.service.protectionpolicy.CounterLockPolicy Class Reference

The access to the credential will be locked after a configurable number of failed attempts. More...

Inheritance diagram for com.hidglobal.ia.service.protectionpolicy.CounterLockPolicy:
com.hidglobal.ia.service.protectionpolicy.LockPolicy

Public Member Functions

 CounterLockPolicy (int maxCounter)
 
int getMaxCounterValue ()
 
String toString ()
 
- Public Member Functions inherited from com.hidglobal.ia.service.protectionpolicy.LockPolicy
String getType ()
 
 LockPolicy (String type)
 

Detailed Description

The access to the credential will be locked after a configurable number of failed attempts.

Constructor & Destructor Documentation

◆ CounterLockPolicy()

com.hidglobal.ia.service.protectionpolicy.CounterLockPolicy.CounterLockPolicy ( int  maxCounter)
inline

Constructor

Parameters
maxCounterthe max counter value of the credential before it gets locked.

Member Function Documentation

◆ getMaxCounterValue()

int com.hidglobal.ia.service.protectionpolicy.CounterLockPolicy.getMaxCounterValue ( )
inline

Returns the max counter value of the credential before it gets locked.

Returns
the max counter value of the credential before it gets locked.

◆ toString()

String com.hidglobal.ia.service.protectionpolicy.CounterLockPolicy.toString ( )
inline

Displays a readable description of the lock policy.

Returns
the string description
See also
java.lang.Object::toString()