Set Up HeaderPreAuth Federation Provider
How to configure the HeaderPreAuth federation provider.
The Knox Gateway supports federation solution providers by accepting HTTP header tokens. This section explains how to configure HTTP header fields for SSO or Federation solutions that have simple HTTP header-type tokens.
The gateway extracts the user identifier from the HTTP header field. The gateway can also extract the group information and propagate it to the Identity-Assertion provider.
Note | |
---|---|
The Knox Gateway federation plug-in, |
Only use the HeaderPreAuth federation provider in environments where the identity
system does not allow direct access to the Knox Gateway. Allowing direct access
exposes the gateway to identity spoofing. Hortonworks recommends defining the
preauth.ip.addresses
parameter to ensure requests come from a
specific IP addresses only.
Example SiteMinder Configuration
<provider>
<role>federation</role>
<name>HeaderPreAuth</name>
<enabled>true</enabled>
<param>
<name>preauth.custom.header</name>
<value>SM_USER</value>
</param>
<param>
<name>preauth.ip.addresses</name>
<value>10.10.0.*</value>
</param>
</provider>