Package org.apereo.cas.webauthn
Class DynamoDbWebAuthnCredentialRepository
- java.lang.Object
-
- org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
-
- org.apereo.cas.webauthn.DynamoDbWebAuthnCredentialRepository
-
- 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 DynamoDbWebAuthnCredentialRepository extends org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepositoryThis isDynamoDbWebAuthnCredentialRepository.- Since:
- 6.3.0
-
-
Constructor Summary
Constructors Constructor Description DynamoDbWebAuthnCredentialRepository(org.apereo.cas.configuration.CasConfigurationProperties properties, org.apereo.cas.util.crypto.CipherExecutor<java.lang.String,java.lang.String> cipherExecutor, DynamoDbWebAuthnFacilitator facilitator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<com.yubico.data.CredentialRegistration>getRegistrationsByUsername(java.lang.String username)java.util.stream.Stream<com.yubico.data.CredentialRegistration>stream()protected voidupdate(java.lang.String username, java.util.Collection<com.yubico.data.CredentialRegistration> records)-
Methods inherited from class org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
addRegistrationByUsername, clean, getCipherExecutor, getCredentialIdsForUsername, getProperties, getRegistrationByUsernameAndCredentialId, getRegistrationsByUserHandle, getUserHandleForUsername, getUsernameForUserHandle, lookup, lookupAll, removeAllRegistrations, removeRegistrationByUsername, updateSignatureCount
-
-
-
-
Constructor Detail
-
DynamoDbWebAuthnCredentialRepository
public DynamoDbWebAuthnCredentialRepository(org.apereo.cas.configuration.CasConfigurationProperties properties, org.apereo.cas.util.crypto.CipherExecutor<java.lang.String,java.lang.String> cipherExecutor, DynamoDbWebAuthnFacilitator facilitator)
-
-
Method Detail
-
getRegistrationsByUsername
public java.util.Collection<com.yubico.data.CredentialRegistration> getRegistrationsByUsername(java.lang.String username)
-
stream
public java.util.stream.Stream<com.yubico.data.CredentialRegistration> stream()
-
update
protected void update(java.lang.String username, java.util.Collection<com.yubico.data.CredentialRegistration> records)- Specified by:
updatein classorg.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
-
-