Class WAMultifactorAuthenticationTrustStorage
java.lang.Object
org.apereo.cas.trusted.authentication.storage.BaseMultifactorAuthenticationTrustStorage
org.apache.syncope.wa.starter.mfa.WAMultifactorAuthenticationTrustStorage
- All Implemented Interfaces:
org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustStorage
public class WAMultifactorAuthenticationTrustStorage
extends org.apereo.cas.trusted.authentication.storage.BaseMultifactorAuthenticationTrustStorage
-
Field Summary
Fields inherited from interface org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustStorage
BEAN_NAME
-
Constructor Summary
ConstructorDescriptionWAMultifactorAuthenticationTrustStorage
(org.apereo.cas.configuration.model.support.mfa.trusteddevice.TrustedDevicesMultifactorProperties trustedDevicesMultifactorProperties, org.apereo.cas.util.crypto.CipherExecutor<Serializable, String> cipherExecutor, org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecordKeyGenerator keyGenerationStrategy, WARestClient waRestClient) -
Method Summary
Modifier and TypeMethodDescriptionorg.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord
get
(long id) Set
<? extends org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord> Set
<? extends org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord> get
(ZonedDateTime onOrAfterDate) Set
<? extends org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord> getAll()
void
void
remove
(ZonedDateTime expirationDate) protected org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord
saveInternal
(org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord record) protected org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord
translate
(MfaTrustedDevice device) Methods inherited from class org.apereo.cas.trusted.authentication.storage.BaseMultifactorAuthenticationTrustStorage
generateKey, get, getCipherExecutor, getKeyGenerationStrategy, getTrustedDevicesMultifactorProperties, save, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustStorage
isAvailable, remove
-
Field Details
-
PAGE_SIZE
protected static final int PAGE_SIZE- See Also:
-
waRestClient
-
-
Constructor Details
-
WAMultifactorAuthenticationTrustStorage
public WAMultifactorAuthenticationTrustStorage(org.apereo.cas.configuration.model.support.mfa.trusteddevice.TrustedDevicesMultifactorProperties trustedDevicesMultifactorProperties, org.apereo.cas.util.crypto.CipherExecutor<Serializable, String> cipherExecutor, org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecordKeyGenerator keyGenerationStrategy, WARestClient waRestClient)
-
-
Method Details
-
saveInternal
protected org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord saveInternal(org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord record) - Specified by:
saveInternal
in classorg.apereo.cas.trusted.authentication.storage.BaseMultifactorAuthenticationTrustStorage
-
remove
-
remove
-
translate
protected org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord translate(MfaTrustedDevice device) -
getAll
public Set<? extends org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord> getAll() -
get
public Set<? extends org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord> get(ZonedDateTime onOrAfterDate) -
get
-
get
public org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord get(long id)
-