[Dhis2-devs] User logged out when creating from API

2014-03-27 Thread Mahendra Kariya
Hi,

We are trying to create a new user using DHIS (2.14 release) api/account
API. The user is getting created successfully. But the creator user is
getting logged out and the new user created is getting logged in. We want
to the creator's session to continue. Is there any way to do it?


Thanks!
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] User logged out when creating from API

2014-03-29 Thread Mahendra Kariya
Hi,

I am still wondering if there is any way to continue the user session of
the creator when a new user is being created using API.


On Thu, Mar 27, 2014 at 4:07 PM, Mahendra Kariya
wrote:

> Hi,
>
> We are trying to create a new user using DHIS (2.14 release) api/account
> API. The user is getting created successfully. But the creator user is
> getting logged out and the new user created is getting logged in. We want
> to the creator's session to continue. Is there any way to do it?
>
>
> Thanks!
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] User logged out when creating from API

2014-04-02 Thread Mahendra Kariya
Hi,

Is 2.15 branch same as trunk or is it some other branch? If it is some
other branch, could you please point us to the URL from where we can check
out the code?


On Wed, Apr 2, 2014 at 4:38 PM, Lars Helge Ă˜verland wrote:

> On a general note we strongly recommend use of SSL/HTTPS when creating
> users with passwords through the Web API outside local
> testing/bootstrapping.
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Contract changes in User Controller.

2014-06-10 Thread Mahendra Kariya
Hello Morten,

We're facing some issues due to some recent changes to UserController.

The serialized 'User' json has some issues.

The 'usercredentials' field is now being serialized as
'org.hisp.dhis.user.UserCredentials' and also some of the properties of
UserCredentials (like userAuthorityGroup ) is not being serialized.

One of our application is breaking due to these contract changes. We tried
fixing it, but soon got lost in the custom serialization code.

Can you please have a look at this.

( Also on a side note, is there any specific reason we are going for custom
serialization instead of going for standard serializers like Jackson? )


Regards

Mahendra/Kiran
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp