If its a webservice call then you need to authenticate. Seems problem is you don't have credentials. So if you have a username you can use mutual authentication rather than basic authentication.
Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Nov 26, 2014 at 12:44 PM, Supun Malinga <[email protected]> wrote: > Hi, > > Where do you intend to have the code which needs to get the list of CApps > ?. More context would be helpful. > If its within a carbon component you don't need to authenticate. Otherwise > you need to authenticate. > > thanks, > > On Wed, Nov 26, 2014 at 12:23 PM, Sandamal Weerasinghe <[email protected]> > wrote: > >> Hi all, >> >> I need to get a list of the un-deployed car files in WSO2 ESB, which can >> be done using the following class >> <https://github.com/wso2-dev/carbon-commons/blob/master/components/application-mgt/org.wso2.carbon.application.mgt/src/main/java/org/wso2/carbon/application/mgt/ApplicationAdmin.java>. >> Is there a way to do this without using the AuthenticationAdminStub? >> Basically what I want to do is, call an Admin Service without using the >> usename and pw inside the Java class. >> >> Thanks. >> >> Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd >> >> Mobile - +94-77-144-9640 >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Supun Malinga, > > Senior Software Engineer, > WSO2 Inc. > http://wso2.com > email: [email protected] <[email protected]> > mobile: +94 (0)71 56 91 321 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
