<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Splunk Java Api connect with SSO in Security</title>
    <link>https://community.splunk.com/t5/Security/Splunk-Java-Api-connect-with-SSO/m-p/193016#M5674</link>
    <description>&lt;P&gt;I have to create a java application that can fetch results from splunk searches. I am able to do it easily with my local installation of spunk using methods given in tutorials(Basic Authentication). But when I use the same code with my organization's splunk, the connection request is timed out. My organization's splunk server is accessible only through SingleSignOn (SSO). How do I connect with the splunk server with the Java API ? I am listing my code which worked well for local installation(Basic Authentication)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;serviceArgs loginArgs = new ServiceArgs();
    loginArgs.setUsername("My_Uname");
    loginArgs.setPassword("My_Pass");
    loginArgs.setHost("localhost");
    loginArgs.setPort(8089);
    Service service = Service.connect(loginArgs);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 02 Jan 2014 05:10:21 GMT</pubDate>
    <dc:creator>pranay036</dc:creator>
    <dc:date>2014-01-02T05:10:21Z</dc:date>
    <item>
      <title>Splunk Java Api connect with SSO</title>
      <link>https://community.splunk.com/t5/Security/Splunk-Java-Api-connect-with-SSO/m-p/193016#M5674</link>
      <description>&lt;P&gt;I have to create a java application that can fetch results from splunk searches. I am able to do it easily with my local installation of spunk using methods given in tutorials(Basic Authentication). But when I use the same code with my organization's splunk, the connection request is timed out. My organization's splunk server is accessible only through SingleSignOn (SSO). How do I connect with the splunk server with the Java API ? I am listing my code which worked well for local installation(Basic Authentication)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;serviceArgs loginArgs = new ServiceArgs();
    loginArgs.setUsername("My_Uname");
    loginArgs.setPassword("My_Pass");
    loginArgs.setHost("localhost");
    loginArgs.setPort(8089);
    Service service = Service.connect(loginArgs);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jan 2014 05:10:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-Java-Api-connect-with-SSO/m-p/193016#M5674</guid>
      <dc:creator>pranay036</dc:creator>
      <dc:date>2014-01-02T05:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Java Api connect with SSO</title>
      <link>https://community.splunk.com/t5/Security/Splunk-Java-Api-connect-with-SSO/m-p/193017#M5675</link>
      <description>&lt;P&gt;bump? I am working around this with a local splunk account but our security folks would prefer I didn't.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2014 14:18:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-Java-Api-connect-with-SSO/m-p/193017#M5675</guid>
      <dc:creator>smileyge</dc:creator>
      <dc:date>2014-04-11T14:18:02Z</dc:date>
    </item>
  </channel>
</rss>

