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 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)
-
-
-
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)
-
-