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
Modifier and TypeMethodDescriptionintcountByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue(String username, String authServerId, Instant date) intcountByUsernameAndAuthServerIdAndConsideredTrue(String username, String authServerId) voidvoiddeleteLoginAttemptsOlderThan(Instant age, String authServerId) readByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue(String username, String authServerId, Instant date) intresetLoginAttempts(String username, String authServerId) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAllMethods inherited from interface com.broadleafcommerce.common.extension.DomainTypeAware
getDomainType
-
Method Details
-
countByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue
-
resetLoginAttempts
-
readByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue
-
countByUsernameAndAuthServerIdAndConsideredTrue
-
deleteLoginAttemptsOlderThan
-
deleteLoginAttemptsOlderThan
-