I've seen that Splunk does not support REST API access when SAML is enabled. I've also seen that there is a way to login using a local account when SAML is enabled using(from this post😞
https://:8000/en-US/account/?loginType=splunk&username=&password=
When I look at the Splunk SDK I dont see anyway to append the /en-US/account/login?loginType=splunk to the connection request. Is there any way to translate the above URL into a connection request using the Splunk JAVA SDK?