JAVA REST API example with Anaplan generated Certificate
Hi All -
SSO is enabled for my tenant with exemption users not allowed due to internal policy so certificate authentication is my next option to bring data into anaplan is a systematic flow.
I will obtain a CA Certificate as described here https://help.anaplan.com/anapedia/Content/Administration_and_Security/Tenant_Administration/Security/Certificates.htm however it seems Anaplan will generate a certificate for usage as well. See https://help.anaplan.com/anapedia/Content/GettingStarted/Certificates.htm
I want to use this Anaplan Gnerated
Questions:
1. Can this certificate be used with the REST APIs? Only Anaplan Connect is mentioned.
2. if YES to #1, is there an example I can reference implemented JAVA
Best Answer
-
The source code is available at https://github.com/anaplaninc/anaplan-java-client
1
Answers
-
CA-supplied certificates are used in the v2.x API (see https://anaplanauthentication.docs.apiary.io/#reference/authentication-token and https://anaplanbulkapi20.docs.apiary.io/#introduction/getting-started/authentication) whereas the Anaplan-generated ones are used with the v1.x API. CA certificates with the 2.0 API is recommended for new installations; for either the Anaplan Connect source code (v1.3.x AC for v1.x API or v1.4+ AC for v2.0 API) serves as a reference implementation for accessing the REST API.
0 -
Thanks for replying.
"for either the Anaplan Connect source code (v1.3.x AC for v1.x API or v1.4+ AC for v2.0 API) serves as a reference implementation for accessing the REST API."
Is the Anaplan Connector Source code available for download? Where can i find this?
Only the client jar can be found @ https://help.anaplan.com/anapedia/Content/Downloads/DL_Downloads.html?cshid=1495
0 -
Thank you....this is really helpful...Started to drill down into the code.
Found the main program interesting...basically 500 line while loop but to be fair, there is a '
//TODO: Modularize main()
0 -
Learn JAVA Certification Course in Solapur in Affordable Fees from Best JAVA Training Institute in Solapur in Classroom or Online Training in Short Duration from Experts.
0