Interface TokenRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<TokenEntity,String>, org.springframework.data.jpa.repository.JpaRepository<TokenEntity,String>, org.springframework.data.repository.ListCrudRepository<TokenEntity,String>, org.springframework.data.repository.ListPagingAndSortingRepository<TokenEntity,String>, org.springframework.data.repository.PagingAndSortingRepository<TokenEntity,String>, org.springframework.data.repository.query.QueryByExampleExecutor<TokenEntity>, org.springframework.data.repository.Repository<TokenEntity,String>, TokenStore

@ConditionalOnProperty(name="lastshield.basicauth", havingValue="true") public interface TokenRepository extends org.springframework.data.jpa.repository.JpaRepository<TokenEntity,String>, TokenStore
Repository interface for handling token-related operations. This interface extends JpaRepository for CRUD operations and TokenStore for token-specific behavior.

The repository is conditional on the 'lastshield.basicauth' property being set to true. This means the repository will only be active when the specified property is enabled.

  • Method Summary

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne

    Methods inherited from interface tech.lastbox.jwt.TokenStore

    findById, save