All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.smallcrew.security.repository.UserTokenRepository Maven / Gradle / Ivy

Go to download

Foundation of all smallcrew's projects needing authenticated users and role management

The newest version!
package fr.smallcrew.security.repository;

import fr.smallcrew.security.domain.UserToken;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional(readOnly = true)
public interface UserTokenRepository extends CrudRepository, JpaSpecificationExecutor {
  UserToken findBySeries(String series);

  List findByUsername(String username);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy