@NoRepositoryBean public interface UserLoginAttemptRepository<D> extends org.springframework.data.repository.CrudRepository<D,String>, com.broadleafcommerce.common.extension.DomainTypeAware
Modifier and Type | Method and Description |
---|---|
int |
countByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue(String username,
String authServerId,
Instant date) |
int |
countByUsernameAndAuthServerIdAndConsideredTrue(String username,
String authServerId) |
void |
deleteLoginAttemptsOlderThan(Instant age) |
void |
deleteLoginAttemptsOlderThan(Instant age,
String authServerId) |
List<D> |
readByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue(String username,
String authServerId,
Instant date) |
int |
resetLoginAttempts(String username,
String authServerId) |
int countByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue(String username, String authServerId, Instant date)
List<D> readByUsernameAndAuthServerIdAndAttemptTimeAfterAndConsideredTrue(String username, String authServerId, Instant date)
int countByUsernameAndAuthServerIdAndConsideredTrue(String username, String authServerId)
void deleteLoginAttemptsOlderThan(Instant age)
Copyright © 2021. All rights reserved.