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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcountByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue(String username, String authServerId, Instant date)intcountByUsernameAndAuthServerIdAndConsideredTrue(String username, String authServerId)voiddeleteLoginAttemptsOlderThan(Instant age)voiddeleteLoginAttemptsOlderThan(Instant age, String authServerId)List<D>readByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue(String username, String authServerId, Instant date)intresetLoginAttempts(String username, String authServerId)
-
-
-
Method Detail
-
countByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue
int countByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue(String username, String authServerId, Instant date)
-
readByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue
List<D> readByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue(String username, String authServerId, Instant date)
-
countByUsernameAndAuthServerIdAndConsideredTrue
int countByUsernameAndAuthServerIdAndConsideredTrue(String username, String authServerId)
-
deleteLoginAttemptsOlderThan
void deleteLoginAttemptsOlderThan(Instant age)
-
-