Class JpaWebAuthnCredentialRepository

java.lang.Object
org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
org.apereo.cas.webauthn.JpaWebAuthnCredentialRepository
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 JpaWebAuthnCredentialRepository extends org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
Since:
6.3.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    JpaWebAuthnCredentialRepository(org.apereo.cas.configuration.CasConfigurationProperties properties, org.apereo.cas.util.crypto.CipherExecutor<String,String> cipherExecutor, org.springframework.transaction.support.TransactionOperations transactionTemplate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<com.yubico.data.CredentialRegistration>
     
    Stream<com.yubico.data.CredentialRegistration>
     
    void
    update(String username, Collection<com.yubico.data.CredentialRegistration> givenRecords)
     

    Methods inherited from class org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository

    addRegistrationByUsername, clean, getCipherExecutor, getCredentialIdsForUsername, getProperties, getRegistrationByUsernameAndCredentialId, getRegistrationsByUserHandle, getUserHandleForUsername, getUsernameForUserHandle, lookup, lookupAll, removeAllRegistrations, removeRegistrationByUsername, updateSignatureCount

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.yubico.core.RegistrationStorage

    userExists
  • Constructor Details

    • JpaWebAuthnCredentialRepository

      public JpaWebAuthnCredentialRepository(org.apereo.cas.configuration.CasConfigurationProperties properties, org.apereo.cas.util.crypto.CipherExecutor<String,String> cipherExecutor, org.springframework.transaction.support.TransactionOperations transactionTemplate)
  • Method Details

    • getRegistrationsByUsername

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

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

      public void update(String username, Collection<com.yubico.data.CredentialRegistration> givenRecords)
      Specified by:
      update in class org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository