java使用rest api登录salesforce | How to do authentication to salesforce from java class using Rest API
2013-06-14 15:23
609 查看
we can use the username & password flow that's part of the oauth2 support.
Hi all, I have arrived the solution to my problem. Actually, I was examining the sample given in the link http://wiki.developerforce.com/page/Getting_Started_with_the_Force.com_REST_API . Then implemented OAuth 2.0 Username-Password Flow which is from https://login.salesforce.com/help/doc/en/remoteaccess_oauth_username_password_flow.htm#send_up_response. It solves my problem.
http://www.salesforce.com/us/developer/docs/api_streaming/Content/code_sample_auth_oauth.htm https://emea.salesforce.com/help/doc/en/remoteaccess_revoke_token.htm https://emea.salesforce.com/help/doc/en/remoteaccess_authenticate.htm https://login.salesforce.com/help/doc/en/remoteaccess_oauth_username_password_flow.htm#send_up_response http://wiki.developerforce.com/page/Digging_Deeper_into_OAuth_2.0_at_Salesforce.com
Hi all, I have arrived the solution to my problem. Actually, I was examining the sample given in the link http://wiki.developerforce.com/page/Getting_Started_with_the_Force.com_REST_API . Then implemented OAuth 2.0 Username-Password Flow which is from https://login.salesforce.com/help/doc/en/remoteaccess_oauth_username_password_flow.htm#send_up_response. It solves my problem.
http://www.salesforce.com/us/developer/docs/api_streaming/Content/code_sample_auth_oauth.htm https://emea.salesforce.com/help/doc/en/remoteaccess_revoke_token.htm https://emea.salesforce.com/help/doc/en/remoteaccess_authenticate.htm https://login.salesforce.com/help/doc/en/remoteaccess_oauth_username_password_flow.htm#send_up_response http://wiki.developerforce.com/page/Digging_Deeper_into_OAuth_2.0_at_Salesforce.com
相关文章推荐
- salesforce rest api 登录 | Authenticating to Salesforce using REST, OAuth 2.0 and Java
- salesforce rest api 登录 | Authenticating to Salesforce using REST, OAuth 2.0 and Java
- Step-By-Step Guide to Get Started with Salesforce REST API using Java
- salesforce 零基础学习(五十一)使用 Salesforce.com SOAP API 实现用户登录以及简单的增删改查(JAVA访问salesforce)
- How to perform AD(MS Active Directory) Authentication using JNDI from Java?
- How do I get ASP.NET Web API to return JSON instead of XML using Chrome
- 在Java程序中调用Salesforce REST API
- (Django) How do I set limit_choices_to another class from where the ManyToManyField points to? - django, django-models - TechQues.com
- How to execute webject using java api in Windchill
- How to Call Java functions from C Using JNI
- 在Salesforce标准页面上使用Url传参 - Using URL parameters on Salesforce standard pages
- How to Call Java Functions from C Using JNI
- How to use toolbar control on dialog using CToolBar class in VC++ - VC++ 中用CToolBar 类如何使用ToolBar控件
- how to get file from classpath using jboss7.x.1 --reference
- How do you force a java swt program to “move itself to the foreground”?
- how to do graphics in java(quote from big java, 5e)?
- Openstack: python API “how to download image from glance using the python api”
- How to check the java compiler version from a java class file?
- JAVA学习:maven开发环境快速搭建How to download J2EE API (javaee.jar) from Maven
- Rest Api how to retrieve list items from SharePoint Online