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
    Modifier and Type
    Field
    Description
    protected static final int
     
    protected final WARestClient
     

    Fields inherited from interface org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustStorage

    BEAN_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord
    get(long id)
     
    Set<? extends org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord>
    get(String principal)
     
    Set<? extends org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord>
    get(ZonedDateTime onOrAfterDate)
     
    Set<? extends org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord>
     
    void
    remove(String recordKey)
     
    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
     

    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

  • 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 class org.apereo.cas.trusted.authentication.storage.BaseMultifactorAuthenticationTrustStorage
    • remove

      public void remove(ZonedDateTime expirationDate)
    • remove

      public void remove(String recordKey)
    • 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

      public Set<? extends org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord> get(String principal)
    • get

      public org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord get(long id)