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

fr.smallcrew.security.repository.DomainUserRepository 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.DomainUser;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import org.springframework.transaction.annotation.Transactional;

@Transactional(readOnly = true)
public interface DomainUserRepository extends CrudRepository, JpaSpecificationExecutor {
  DomainUser findByUsernameOrEmail(String username, String email);
  DomainUser findByUsernameAndPassword(String username, String password);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy