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
FieldsFields inherited from interface org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustStorage
BEAN_NAME -
Constructor Summary
ConstructorsConstructorDescriptionWAMultifactorAuthenticationTrustStorage(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.MultifactorAuthenticationTrustRecordget(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()voidvoidremove(ZonedDateTime expirationDate) protected org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecordsaveInternal(org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord record) protected org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecordtranslate(MfaTrustedDevice device) Methods inherited from class org.apereo.cas.trusted.authentication.storage.BaseMultifactorAuthenticationTrustStorage
generateKey, get, getCipherExecutor, getKeyGenerationStrategy, getTrustedDevicesMultifactorProperties, save, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
saveInternalin 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)
-