Interface AttemptedLoginRepository
- All Superinterfaces:
tech.corefinance.common.repository.CommonResourceRepository<AttemptedLogin,,String> org.springframework.data.repository.CrudRepository<AttemptedLogin,,String> org.springframework.data.repository.ListCrudRepository<AttemptedLogin,,String> org.springframework.data.repository.ListPagingAndSortingRepository<AttemptedLogin,,String> org.springframework.data.repository.PagingAndSortingRepository<AttemptedLogin,,String> org.springframework.data.repository.query.QueryByExampleExecutor<AttemptedLogin>,org.springframework.data.repository.Repository<AttemptedLogin,String>
@Repository
@ConditionalOnProperty(prefix="tech.corefinance.security",
name="authorize-check",
havingValue="true",
matchIfMissing=true)
public interface AttemptedLoginRepository
extends tech.corefinance.common.repository.CommonResourceRepository<AttemptedLogin,String>
-
Method Summary
Modifier and TypeMethodDescriptionlongcountByAccountAndEnabled(String account, boolean enabled) voidupdateEnabledByAccount(boolean enabled, String username, String email) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findAll, findAll, findBy, findOne
-
Method Details
-
countByAccountAndEnabled
-
updateEnabledByAccount
-