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!

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...