You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by lm...@apache.org on 2015/03/22 18:48:44 UTC
svn commit: r1668423 - in /knox: site/books/knox-0-6-0/user-guide.html
trunk/books/0.6.0/config_preauth_sso_provider.md
Author: lmccay
Date: Sun Mar 22 17:48:44 2015
New Revision: 1668423
URL: http://svn.apache.org/r1668423
Log:
KNOX-504 - reference the mutual authentication documentation from preauth sso section.
Modified:
knox/site/books/knox-0-6-0/user-guide.html
knox/trunk/books/0.6.0/config_preauth_sso_provider.md
Modified: knox/site/books/knox-0-6-0/user-guide.html
URL: http://svn.apache.org/viewvc/knox/site/books/knox-0-6-0/user-guide.html?rev=1668423&r1=1668422&r2=1668423&view=diff
==============================================================================
--- knox/site/books/knox-0-6-0/user-guide.html (original)
+++ knox/site/books/knox-0-6-0/user-guide.html Sun Mar 22 17:48:44 2015
@@ -1402,8 +1402,7 @@ APACHE_HOME/bin/apachectl -k stop
<role>federation</role>
<name>HeaderPreAuth</name>
<enabled>true</enabled>
-</provider>
-</code></pre><p>The following table describes the configuration options for the web app security provider:</p><h5><a id="Descriptions"></a>Descriptions</h5>
+</code></pre><p></provider></p><p>The following table describes the configuration options for the web app security provider:</p><h5><a id="Descriptions"></a>Descriptions</h5>
<table>
<thead>
<tr>
@@ -1434,15 +1433,14 @@ APACHE_HOME/bin/apachectl -k stop
<td>null - which means that there will be no group principals extracted from the request and added to the established Subject.</td>
</tr>
</tbody>
-</table><h5><a id="Configuration+for+SiteMinder"></a>Configuration for SiteMinder</h5><p>The following is an example of a configuration of the preauthenticated sso provider that leverages the default SM_USER header name - assuming use with CA SiteMinder. It further configures the validation based on the IP address from the incoming request.</p>
+</table><h5><a id="NOTE:+Mutual+authentication+can+be+used+to+establish+a+strong+trust+relationship+between+clients+and+servers+while+using+the+Preauthenticated+SSO+provider.+See+the+configuration+for+Mutual+Authentication+with+SSL+in+this+document."></a>NOTE: Mutual authentication can be used to establish a strong trust relationship between clients and servers while using the Preauthenticated SSO provider. See the configuration for Mutual Authentication with SSL in this document.</h5><h5><a id="Configuration+for+SiteMinder"></a>Configuration for SiteMinder</h5><p>The following is an example of a configuration of the preauthenticated sso provider that leverages the default SM_USER header name - assuming use with CA SiteMinder. It further configures the validation based on the IP address from the incoming request.</p>
<pre><code><provider>
<role>federation</role>
<name>HeaderPreAuth</name>
<enabled>true</enabled>
<param><name>preauth.validation.method</name><value>preauth.ip.validation</value></param>
<param><name>preauth.ip.addresses</name><value>127.0.0.2,127.0.0.1</value></param>
-</provider>
-</code></pre><h5><a id="REST+Invocation+for+SiteMinder"></a>REST Invocation for SiteMinder</h5><p>The following curl command can be used to request a directory listing from HDFS while passing in the expected header SM_USER.</p>
+</code></pre><p></provider></p><h5><a id="REST+Invocation+for+SiteMinder"></a>REST Invocation for SiteMinder</h5><p>The following curl command can be used to request a directory listing from HDFS while passing in the expected header SM_USER.</p>
<pre><code>curl -k -i --header "SM_USER: guest" -v https://localhost:8443/gateway/sandbox/webhdfs/v1/tmp?op=LISTSTATUS
</code></pre><p>Omitting the –header “SM_USER: guest” above will result in a rejected request.</p><h5><a id="Configuration+for+IBM+Tivoli+AM"></a>Configuration for IBM Tivoli AM</h5><p>As an example for configuring the preauthenticated sso provider for another SSO provider, the following illustrates the values used for IBM’s Tivoli Access Manager:</p>
<pre><code><provider>
Modified: knox/trunk/books/0.6.0/config_preauth_sso_provider.md
URL: http://svn.apache.org/viewvc/knox/trunk/books/0.6.0/config_preauth_sso_provider.md?rev=1668423&r1=1668422&r2=1668423&view=diff
==============================================================================
--- knox/trunk/books/0.6.0/config_preauth_sso_provider.md (original)
+++ knox/trunk/books/0.6.0/config_preauth_sso_provider.md Sun Mar 22 17:48:44 2015
@@ -33,7 +33,7 @@ The HeaderPreAuth provider is configured
<role>federation</role>
<name>HeaderPreAuth</name>
<enabled>true</enabled>
- </provider>
+ </provider>
The following table describes the configuration options for the web app security provider:
@@ -46,6 +46,8 @@ preauth.ip.addresses|Optional parameter
preauth.custom.header|Required parameter for indicating a custom header to use for extracting the preauthenticated principal. The value extracted from this header is utilized as the PrimaryPrincipal within the established Subject. An incoming request that is missing the configured header will be refused with a 401 unauthorized HTTP status.|SM_USER for SiteMinder usecase
preauth.custom.group.header|Optional parameter for indicating a HTTP header name that contains a comma separated list of groups. These are added to the authenticated Subject as group principals. A missing group header will result in no groups being extracted from the incoming request and a log entry but processing will continue.|null - which means that there will be no group principals extracted from the request and added to the established Subject.
+##### NOTE: Mutual authentication can be used to establish a strong trust relationship between clients and servers while using the Preauthenticated SSO provider. See the configuration for Mutual Authentication with SSL in this document.
+
##### Configuration for SiteMinder
The following is an example of a configuration of the preauthenticated sso provider that leverages the default SM_USER header name - assuming use with CA SiteMinder. It further configures the validation based on the IP address from the incoming request.
@@ -55,7 +57,7 @@ The following is an example of a configu
<enabled>true</enabled>
<param><name>preauth.validation.method</name><value>preauth.ip.validation</value></param>
<param><name>preauth.ip.addresses</name><value>127.0.0.2,127.0.0.1</value></param>
- </provider>
+ </provider>
##### REST Invocation for SiteMinder
The following curl command can be used to request a directory listing from HDFS while passing in the expected header SM_USER.