Class WAU2FDeviceRepository

  • All Implemented Interfaces:
    org.apereo.cas.adaptors.u2f.storage.U2FDeviceRepository

    public class WAU2FDeviceRepository
    extends org.apereo.cas.adaptors.u2f.storage.BaseU2FDeviceRepository
    • Constructor Detail

      • WAU2FDeviceRepository

        public WAU2FDeviceRepository​(org.apereo.cas.configuration.CasConfigurationProperties casProperties,
                                     com.github.benmanes.caffeine.cache.LoadingCache<String,​String> requestStorage,
                                     WARestClient waRestClient,
                                     OffsetDateTime expirationDate)
    • Method Detail

      • parseRegistrationRecord

        protected static org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration parseRegistrationRecord​(String owner,
                                                                                                           U2FDevice device)
      • getRegisteredDevices

        public Collection<? extends org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration> getRegisteredDevices​(String owner)
      • getRegisteredDevices

        public Collection<? extends org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration> getRegisteredDevices()
      • registerDevice

        public org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration registerDevice​(org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration registration)
      • deleteRegisteredDevice

        public void deleteRegisteredDevice​(org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration registration)
      • isDeviceRegisteredFor

        public boolean isDeviceRegisteredFor​(String owner)
      • clean

        public void clean()
      • removeAll

        public void removeAll()