AppD Archive

REST API - Authentication with 3rd party service

CommunityUser
Splunk Employee
Splunk Employee

Hi community, I'm working in an application which uses rest api to get some metrics from appdynamics. The instance of appdynamics that is queried, uses SAAS controoler and is authenticated through ADFS (Active Directory Federation Service), so what I use to do is to simulate the authentication as if it were a web page, thus getting JSessionId cookie and sending on each rest api request.

Now I wonder if is there a different way to do that since modifying the 3rd party authentication service or it's version usually breaks my code and I must work to make it work again each time.

I tryied by using several account names (custom1, companyName, etc.) as stated in https://docs.appdynamics.com/display/PRO40/Use+the+AppDynamics+REST+API#UsetheAppDynamicsRESTAPI-Aut... for SAAS, but none of them worked.

Thanks,

Mariano

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I have a similar requirement.

I have been able to execute REST API calls when the SaaS controller was configured to use its own authentication. But recently we moved to 3rd party authentication - Shibboleth SSO. Per documentation of RESTToolkit , it perhaps doesn't address this usecase?

0 Karma

Arun_Dasetty
Super Champion

Hi Mariano,

Can you list the saas account name and also create abd provide test user login (read permissions should be enough for test user id) so that we could try from my end, if you are already trying the format stated in docs to use <username>@<accountname> in link:

http://community.appdynamics.com/t5/eXchange-Community-AppDynamics/Java-SDK-for-Controller-REST-API/...

Regards,

Arun

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...