I'm stuck on an logging in to Ambari UI via Knox, I've configured Knox to use HeaderPreAuth(SiteMinder). Is it even possible to access the HDP UI's in that way?
What happens is that I get no further than Amabri's login view.
I've verified that i can use WebHDFS through Knox with the same configuration.
This is the process for what I've tried so far:
I set the SiteMinder header in the browser using a plugin.
I've configured a topology like this
I also tried adding the AMBARI service role in the topology but it didn't make any difference.
Then I've configured the 'service.xml' file for the AmbariUI service to use the federation policy:
<service role="AMBARIUI" name="ambariui" version="2.2.0">
I can see that the user specified in the SiteMinder header is picked up by Knox in the gateway-audit log file.
I can't find any errors in any logs, the only remotely interesting information is that i seem to get a Response status: 400 in the gateway-audit logs when i perform the request.
Any ideas why this isn't working? Have I missed some important step?
I am not sure if Ambari supports HeaderPreAuth yet, it supports KnoxSSO though but it needs to be configured.