Class 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 int PAGE_SIZE  
      protected WARestClient 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

      All Methods Instance Methods Concrete Methods 
      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> getAll()  
      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 translate​(MfaTrustedDevice device)  
      • Methods inherited from class org.apereo.cas.trusted.authentication.storage.BaseMultifactorAuthenticationTrustStorage

        generateKey, get, getCipherExecutor, getKeyGenerationStrategy, getTrustedDevicesMultifactorProperties, save, toString
      • Methods inherited from interface org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustStorage

        remove
    • Constructor Detail

      • 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 Detail

      • 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​(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)