Interface UserLoginAttemptRepository<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:
    JpaUserLoginAttemptRepository<D>

    @NoRepositoryBean
    public interface UserLoginAttemptRepository<D>
    extends org.springframework.data.repository.CrudRepository<D,​String>, com.broadleafcommerce.common.extension.DomainTypeAware
    • Method Detail

      • countByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue

        int countByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue​(String username,
                                                                               String authServerId,
                                                                               Instant date)
      • resetLoginAttempts

        int resetLoginAttempts​(String username,
                               String authServerId)
      • readByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue

        List<D> readByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue​(String username,
                                                                                  String authServerId,
                                                                                  Instant date)
      • countByUsernameAndAuthServerIdAndConsideredTrue

        int countByUsernameAndAuthServerIdAndConsideredTrue​(String username,
                                                            String authServerId)
      • deleteLoginAttemptsOlderThan

        void deleteLoginAttemptsOlderThan​(Instant age)
      • deleteLoginAttemptsOlderThan

        void deleteLoginAttemptsOlderThan​(Instant age,
                                          String authServerId)