public class DeviceFingerprintTokenPolicy extends Object
Modifier and Type | Field and Description |
---|---|
static DeviceFingerprintTokenPolicy |
DEFAULT
Default device fingerprint source settings, with check enabled.
|
Constructor and Description |
---|
DeviceFingerprintTokenPolicy(boolean failIfInvalid,
DeviceFingerprintSource deviceFingerprintSource)
Build a new device fingerprint token policy.
|
Modifier and Type | Method and Description |
---|---|
DeviceFingerprintSource |
getDeviceFingerprintSource()
Get device fingerprint source.
|
boolean |
isFailIfInvalid()
Get the device fingerprint policy state.
|
public static final DeviceFingerprintTokenPolicy DEFAULT
public DeviceFingerprintTokenPolicy(boolean failIfInvalid, DeviceFingerprintSource deviceFingerprintSource)
check
is set to true, it still remains a
probability of 1/2^16 that wrong device fingerprint data will not be detected.failIfInvalid
- Specify if anti-cloning data must be checked before
instantiating the token. If true, when a token is retrieved
the token manager verifies if the anti-cloning matches a digest
of the expected anti-cloning. If it does not match then an
exception is thrown.deviceFingerprintSource
- Device fingerprint source to collect.public boolean isFailIfInvalid()
public DeviceFingerprintSource getDeviceFingerprintSource()