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!

Index This | Why did the turkey cross the road?

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

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...