Class WAWebAuthnCredentialRepository

  • All Implemented Interfaces:
    com.yubico.core.RegistrationStorage, com.yubico.webauthn.CredentialRepository, org.apereo.cas.webauthn.storage.WebAuthnCredentialRepository, org.apereo.cas.webauthn.storage.WebAuthnRegistrationStorageCleaner

    public class WAWebAuthnCredentialRepository
    extends org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
    • Field Detail

      • LOG

        protected static final Logger LOG
    • Constructor Detail

      • WAWebAuthnCredentialRepository

        public WAWebAuthnCredentialRepository​(org.apereo.cas.configuration.CasConfigurationProperties properties,
                                              WARestClient waRestClient)
    • Method Detail

      • removeRegistrationByUsername

        public boolean removeRegistrationByUsername​(String username,
                                                    com.yubico.data.CredentialRegistration credentialRegistration)
        Specified by:
        removeRegistrationByUsername in interface com.yubico.core.RegistrationStorage
        Overrides:
        removeRegistrationByUsername in class org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
      • removeAllRegistrations

        public boolean removeAllRegistrations​(String username)
        Specified by:
        removeAllRegistrations in interface com.yubico.core.RegistrationStorage
        Overrides:
        removeAllRegistrations in class org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
      • stream

        public Stream<? extends com.yubico.data.CredentialRegistration> stream()
      • update

        protected void update​(String username,
                              Collection<com.yubico.data.CredentialRegistration> records)
        Specified by:
        update in class org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
      • getRegistrationsByUsername

        public Collection<com.yubico.data.CredentialRegistration> getRegistrationsByUsername​(String username)