Interface UserChangePasswordAttemptRepository<D>

All Superinterfaces:
org.springframework.data.repository.CrudRepository<D,String>, com.broadleafcommerce.common.extension.DomainTypeAware, org.springframework.data.repository.Repository<D,String>
All Known Subinterfaces:
JpaUserChangePasswordAttemptRepository<D>

@NoRepositoryBean public interface UserChangePasswordAttemptRepository<D> extends org.springframework.data.repository.CrudRepository<D,String>, com.broadleafcommerce.common.extension.DomainTypeAware
Repository for managing operations related to UserChangePasswordAttempt.
Since:
2.1.3
Author:
Julia Lopez-Pozas (jpozas)
  • Method Details

    • countByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrueAndResultIs

      int countByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrueAndResultIs(String username, String authServerId, Instant date, String result)
    • readByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrueAndResultIs

      List<D> readByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrueAndResultIs(String username, String authServerId, Instant date, String result)
    • countByUsernameAndAuthServerIdAndConsideredTrueAndResultIs

      int countByUsernameAndAuthServerIdAndConsideredTrueAndResultIs(String username, String authServerId, String result)
    • resetChangePasswordAttempts

      @Transactional int resetChangePasswordAttempts(String username, String authServerId)
    • deleteChangePasswordAttemptsOlderThan

      @Transactional void deleteChangePasswordAttemptsOlderThan(Instant age)
    • deleteChangePasswordAttemptsOlderThan

      @Transactional void deleteChangePasswordAttemptsOlderThan(Instant age, String authServerId)