Hi Jena,

You may refer the implementation underneath above mentioned authenticate
endpoint at [1].

[1]
https://github.com/wso2-dev/product-es/blob/master/modules/apps/publisher/extensions/app/publisher_apis/apis/authenticate.jag

Thanks!
- Ayesha

On Fri, Jan 16, 2015 at 5:12 PM, Jenananthan Yogendran <[email protected]
> wrote:

> Hi,
>
> Currently I am writing automated test for APP Manager. We use ES 1.0.0 in
> APP Manager and currently there is no rest end point to login to Publisher
> app.
>
> But ES 2.0.0-snapshot has an endpoint to login to publisher(
> https://localhost:9443/publisher/apis/authenticate
> <https://www.google.com/url?q=https%3A%2F%2Flocalhost%3A9443%2Fpublisher%2Fapis%2Fauthenticate&sa=D&sntz=1&usg=AFQjCNEtrmT-Fqob5-8RdzVn4RS-Aocgsw>
> )
>
> curl --insecure --request POST "
> https://localhost:9443/publisher/apis/authenticate
> <https://www.google.com/url?q=https%3A%2F%2Flocalhost%3A9443%2Fpublisher%2Fapis%2Fauthenticate&sa=D&sntz=1&usg=AFQjCNEtrmT-Fqob5-8RdzVn4RS-Aocgsw>"
> --form 'username=admin' --form 'password=admin'
>
> So,  to backport this to APP Manager ,can anyone point me to the code
> where this endpoint is implemented?
> --
> Jenananthan Yogendran
> *Software Engineer,*
> *WSO2 inc., http://wso2.com <http://wso2.com>*
>
>


-- 
*Ayesha Dissanayaka*
Software Engineer,
WSO2, Inc : http://wso2.com
<http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
20, Palmgrove Avenue, Colombo 3
E-Mail: [email protected] <[email protected]>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to