Hi,
I see you are still not subscribing to the mailing list, so one can only see
that you are posting by visiting Nabble. Which does not happen often, at
least for me.
Please subscribe, it's fairly easy.
srikanth.april30 wrote
> Thanks ilgrosso for your reply. I have integrated the example code that
> you have given and it's working fine. But I have a question here
> When I checked the rest api at this below url
> https://cwiki.apache.org/confluence/display/SYNCOPE/REST+API+upgrade#RESTAPIupgrade-UserService
>
> and could see that under User Service CRUD operations table, having a new
> URL GET /users?username={username}
> which returns a single user matching the provided username. I have tried
> this but could see all the users are returning as response. In my example
> i have used like below
> http://localhost:8080/syncope/rest/users?username={administrator}
> or
> http://localhost:8080/syncope/rest/users?username=administrator.
> Am I doing any wrong here ? Could you please correct me ?
The wiki page you mention above is about upgrading REST API from Syncope 1.0
to Syncope 1.1.
You are running 2.0.0-M2, so that page is clearly not applicable.
The full REST documentation for last stable version (2.0.0-M2 currently) is
available at
http://syncope.apache.org/rest/2.0/index.html
Please check there.
srikanth.april30 wrote
> Also I have one more question on User token and tokenExpireTime creation
> fields while creating user. When I logging into syncope-console UI and
> creating user I could see two columns with names token and
> tokenExpireTime, but not able to enter values into these fields. Could you
> please help me out on how can I populate values into these columns?
Such fields are there for internal usage, whenever it is required to set a
random, time-limited, value for users - say double opt-in, password reset,
...
In general, things that you control from workflow.
HTH
Regards.
--
View this message in context:
http://syncope-user.1051894.n5.nabble.com/Getting-500-when-I-try-to-Authorize-an-user-from-syncope-database-tp5708417p5708425.html
Sent from the syncope-user mailing list archive at Nabble.com.