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 Thu, 15 Mar 2012 03:29:43 GMT
You are right. I could easily derive it from the example that you provided
and it works. Thanks again !!

Regards,
Antony.

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

>  On 14/03/2012 14:59, Antony Pulicken wrote:
>
> Thanks Francesco. Is it possible to search user just using the 'Username'
> ? Do you have a test case for that ?
>
>
> You can absolutely search an user only by username.
> You could easily derive how from the example provided.
> Regards.
>
>
> 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