public interface LdapRepository<T> extends org.springframework.data.repository.CrudRepository<T,Name>
T findOne(LdapQuery ldapQuery)
ldapQuery - the query specification.null if no matching entry was found.IncorrectResultSizeDataAccessException - if more than one entry matches the query.