Hi, Yes, it used to validate Stratos Manager URL in CLI.
Thanks ! On Tue, Dec 2, 2014 at 1:07 PM, Shiroshica Kulatilake <sh...@wso2.com> wrote: > I think this is used by CLI to validate stratos manager url > > On Tue, Dec 2, 2014 at 12:58 PM, Udara Liyanage <ud...@wso2.com> wrote: > >> Hi, >> >> What is the use of following init(). >> >> @GET >> @Path("/init") >> @AuthorizationAction("/permission/admin/restlogin") >> public Response initialize() >> throws RestAPIException { >> StratosApiResponse response = new StratosApiResponse(); >> response.setMessage("Successfully authenticated"); >> return Response.ok(response).build(); >> } >> >> >> -- >> >> Udara Liyanage >> Software Engineer >> WSO2, Inc.: http://wso2.com >> lean. enterprise. middleware >> >> web: http://udaraliyanage.wordpress.com >> phone: +94 71 443 6897 >> > > > > -- > Shiroshica Kulatilake > > Architect, > WSO2, Inc. http://wso2.com/ > Phone: +94 776523867 > -- Regards, Manula Chathurika Thantriwatte Software Engineer WSO2 Inc. : http://wso2.com lean . enterprise . middleware email : manu...@wso2.com / man...@apache.org phone : +94 772492511 blog : http://manulachathurika.blogspot.com/