Support basic auth
shaiguitar opened this issue · 2 comments
shaiguitar commented
Any plans to have the SDK support Basic Authentication? I'm interacting with a splunk server setup that for some reason has more reliable results when using that over splunk auth token mechanism and would like to try setting the SDK using basic auth to verify/benchmark etc.
shaiguitar commented
http://docs.splunk.com/Documentation/Splunk/6.4.3/RESTUM/RESTusing
Basic HTTP authentication
Splunkd also supports basic authentication as defined by RFC 1945. This is the mechanism used when you access resources using a Web browser
shaiguitar commented
Wrong search - looks like it is supported. Sorry for the noise!
https://github.com/splunk/splunk-sdk-ruby/blob/master/lib/splunk-sdk-ruby/context.rb#L426-L429