@Override
    public List<HistoricalEntity> getHistory(final Object object) {
        val query = QueryBuilder.byInstance(object).build();
        val shadows = javers.findShadows(query);
        return shadows
            .stream()
            .map(shadow -> {
                val commit = shadow.getCommitMetadata();
                val date = commit.getCommitDate();
                val entity = Objects.requireNonNull((Serializable) shadow.get());
                return new HistoricalEntity(entity, shadow.getCommitId().value(), date);
            })
            .toList();
    }
This is {@link JaversEntityHistoryRepository}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-javers/src/main/java/org/apereo/cas/version/JaversEntityHistoryRepository.java