incubator-syncope-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Pulicken <antony.pulic...@gmail.com>
Subject Re: Searching user based on Username
Date Wed, 14 Mar 2012 13:59:32 GMT
Thanks Francesco. Is it possible to search user just using the 'Username' ?
Do you have a test case for that ?

Regards,
Antony.

2012/3/14 Francesco Chicchiriccò <ilgrosso@apache.org>

>  On 14/03/2012 13:58, Antony Pulicken wrote:
>
> Hi,
>
> I'm not able to search and retrieve the users based on 'Username' in
> syncope-0.7.1. There are no records in 'user_search_attr' table where
> schema_name is 'Username'.  I'm able to search on other attributes like
> firstname, surname, email and other custom attributes that I created.
> Please let us know your thoughts.
>
>
> Hi Antony,
> please take a look at [1] (take out from 0.7.1 integration tests)
> searchByUsernameAndId() that's doing what you want.
>
> Regards.
>
> [1]
> https://syncope.googlecode.com/svn/tags/syncope-0.7.1/core/src/test/java/org/syncope/core/rest/UserTestITCase.java
>
> --
> Francesco Chicchiriccò
>
> Apache Cocoon PMC and Apache Syncope PPMC Memberhttp://people.apache.org/~ilgrosso/
>
>

Mime
View raw message