Well IMO I think if we have Basic authentication it will make the integration simple and faster with ESB.
[1] http://dev.desk.com/API/using-the-api/#authentication On Wed, Oct 7, 2015 at 6:08 PM, Kathees Rajendram <[email protected]> wrote: > Adding Vinitha. > > On Wed, Oct 7, 2015 at 5:31 PM, Kathees Rajendram <[email protected]> > wrote: > >> Hi Vinitha, >> >> As Kesavan mentioned, we better to go with oAuth 1.0 rather than basic >> authentication. To implement SalesforceDesk connector with oAuth 1.0, you >> don't need to use any external Java libraries. You can use HMAC-SHA1 >> signature generation method. >> >> You can refer Twitter2.0.0 [1] and Amazon SQS connectors which are >> implemented with oAuth 1.0. >> [1] - >> https://github.com/wso2/esb-connectors/blob/master/twitter/twitter-connector/twitter-connector-2.0.0/org.wso2.carbon.connector/src/main/java/org/wso2/carbon/connector/twitter/TwitterSignatureGeneration.java >> >> Thanks, >> Kathees >> >> On Wed, Oct 7, 2015 at 12:29 PM, Vinitha Rajenthiran < >> [email protected]> wrote: >> >>> Hi Kesavan, >>> >>> We choose Basic Authentication instead of Oauth 1.0 due to the following >>> reasons; >>> >>> 1. For Oauth1.0, a java library has not been provided, hence we need to >>> use >>> an external Java library (e.g: Signpost) to implement the Oauth flow. >>> 2. Basic authentication is the simplest form of authentication to get >>> you up >>> and running with the Desk.com API. >>> >>> Regards, >>> Vinitha >>> >>> >>> >>> -- >>> View this message in context: >>> http://wso2-oxygen-tank.10903.n7.nabble.com/Connector-SalesforceDesk-tp126434p126635.html >>> Sent from the WSO2 Architecture mailing list archive at Nabble.com. >>> _______________________________________________ >>> Architecture mailing list >>> [email protected] >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>> >> >> >> >> -- >> Kathees >> Software Engineer, >> email: [email protected] >> mobile: +94772596173 >> > > > > -- > Kathees > Software Engineer, > email: [email protected] > mobile: +94772596173 > -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ <http://wso2.com/about/team/malaka-silva/> Save a tree -Conserve nature & Save the world for your future. Print this email only if it is absolutely necessary.
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
