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