@Override
    public Collection<CredentialRegistration> getRegistrationsByUsername(final String username) {
        return facilitator.getAccountsBy(username.trim().toLowerCase(Locale.ENGLISH))
            .map(DynamoDbWebAuthnCredentialRegistration::getRecords)
            .flatMap(List::stream)
            .map(record -> getCipherExecutor().decode(record))
            .map(Unchecked.function(record -> WebAuthnUtils.getObjectMapper().readValue(record, new TypeReference<CredentialRegistration>() {
            })))
            .collect(Collectors.toList());
    }
This is {@link DynamoDbWebAuthnCredentialRepository}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-webauthn-dynamodb/src/main/java/org/apereo/cas/webauthn/DynamoDbWebAuthnCredentialRepository.java