esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Re: How to create account through API?
Date Fri, 15 Jan 2010 13:42:34 GMT
Thanks.

D.

On Fri, Jan 15, 2010 at 2:39 PM, Ethan Jewett <esjewett@gmail.com> wrote:
> Hi Dick and Chatree,
>
> Sorry for the radio silence. It has been a crazy week. These methods
> are now documented on the API2 wiki page at
> http://cwiki.apache.org/confluence/display/ESME/API+2.0+-+Design
>
> (and by the way, the method is POST /api2/users ;-)
>
> In order to use this method the user calling the API *must* be defined
> with the "intergration-admin" role in a property file (take a look at
> the test.default.props file in the /server/resources/props directory
> as an example. If you have not done anything to a property file you
> are definitely going to get a 403, since a normal user should not be
> able to use this method.
>
> Ethan
>
> On Fri, Jan 15, 2010 at 5:30 AM, Richard Hirsch <hirsch.dick@gmail.com> wrote:
>> This is a new functionality that currently isn't documented well in the wiki
>>
>> Use the "users/addUser" request method.
>>
>> I'd look in the api2 tests to get some hints:
>> http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/test/scala/org/apache/esme/api/API2Test.scala?view=markup
>>
>> @Ethan: can you help out and document this more in the wiki?
>>
>> D.
>>
>> On Fri, Jan 15, 2010 at 11:17 AM, Chatree Srichart
>> <chatree.srichart@gmail.com> wrote:
>>> Hi all,
>>>
>>> I don't need to create new user account through web page. How to create user
>>> account through API with Java program?
>>>
>>> Regards,
>>>
>>
>

Mime
View raw message