Hi Thusitha, On Wed, Apr 19, 2017 at 6:16 PM, Thusitha Thilina Dayaratne < [email protected]> wrote:
> Hi Bhathiya, > > AFAIU in the C4 context this support comes through the apache HTTP client. > Therefore IMHO this should be handled through the client level. > Yes, I agree that this should be handled in the client level. My concern is about server-to-server calls among wso2 servers. In such cases, if we implement SSLSocketFactory it should be pointed to the truststore of wso2 server (kernel). So if we implement this in every component seperately, we are duplicating the exact same class everywhere. That's why I think this should come from kernel or a shared component. Same goes for the HostnameVerifier as well. > e.g in MSF4J we have integrated that to the MSF4JClient [1] > But still we don't have an implementation for this in MSF4JClient, right? Thanks, Bhathiya > > [1] - https://github.com/wso2/msf4j/blob/master/client/src/ > main/java/org/wso2/msf4j/client/MSF4JClient.java#L215 > > Thanks > Thusitha > > On Wed, Apr 19, 2017 at 5:57 PM, Bhathiya Jayasekara <[email protected]> > wrote: > >> Hi all, >> >> Appreciate a response. >> >> Thanks, >> Bhathiya >> >> On Mon, Apr 17, 2017 at 12:51 PM, Bhathiya Jayasekara <[email protected]> >> wrote: >> >>> Hi all, >>> >>> When we make server-to-server https calls (eg. MSF4J services), we need >>> $subject. In APIM, we're using Feign client as the http client, and it >>> doesn't have any default implementations. >>> >>> So, should we write our own implementation in component level, or should >>> that come from kernel or MSF4J or carbon-transports? >>> >>> Since this is a very common requirement, I think latter should be the >>> best approach. WDYT? >>> >>> Appreciate your input. >>> >>> Thanks, >>> >>> -- >>> *Bhathiya Jayasekara* >>> *Associate Technical Lead,* >>> *WSO2 inc., http://wso2.com <http://wso2.com>* >>> >>> *Phone: +94715478185 <071%20547%208185>* >>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj >>> <http://www.linkedin.com/in/bhathiyaj>* >>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* >>> *Blog: http://movingaheadblog.blogspot.com >>> <http://movingaheadblog.blogspot.com/>* >>> >> >> >> >> -- >> *Bhathiya Jayasekara* >> *Associate Technical Lead,* >> *WSO2 inc., http://wso2.com <http://wso2.com>* >> >> *Phone: +94715478185 <+94%2071%20547%208185>* >> *LinkedIn: http://www.linkedin.com/in/bhathiyaj >> <http://www.linkedin.com/in/bhathiyaj>* >> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* >> *Blog: http://movingaheadblog.blogspot.com >> <http://movingaheadblog.blogspot.com/>* >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Thusitha Dayaratne > WSO2 Inc. - lean . enterprise . middleware | wso2.com > > Mobile +94712756809 <071%20275%206809> > Blog alokayasoya.blogspot.com > About http://about.me/thusithathilina > <http://wso2.com/signature> > > -- *Bhathiya Jayasekara* *Associate Technical Lead,* *WSO2 inc., http://wso2.com <http://wso2.com>* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj <http://www.linkedin.com/in/bhathiyaj>* *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* *Blog: http://movingaheadblog.blogspot.com <http://movingaheadblog.blogspot.com/>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
