[ 
https://issues.apache.org/jira/browse/AMBARI-23213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16404830#comment-16404830
 ] 

Hudson commented on AMBARI-23213:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8877 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/8877/])
AMBARI-23213. New CLI options for setup-sso tool (m.magyar3: 
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=e1b9530070c7fd1e40e9f933fb3b7e57818441e2])
* (add) ambari-server/src/test/python/TestSetupSso.py
* (edit) ambari-server/src/main/python/ambari-server.py
* (edit) ambari-server/src/main/python/ambari_server/setupSso.py


> Enable or disable SSO using Ambari CLI with options
> ---------------------------------------------------
>
>                 Key: AMBARI-23213
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23213
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.7.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Critical
>              Labels: SSO, pull-request-available, security
>             Fix For: 2.7.0
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> To enable or disable SSO using the Ambari CLI, the user needs to answer each 
> prompt. This is not convenient for automated tools. So the following command 
> line options should be available for use. If any mandatory option is not 
> specified via the command line, the user should be prompted for a value.
> Global SSO options:
>  * {{--sso-enabled}}
> if {{sso-enabled}} is "true":
>  * {{--sso-provider-url}}
>  * {{--sso-public-cert-file}}
>  * {{--sso-jwt-cookie-name}}
>  ** optional, if not supplied, the documented default value will be used
>  * {{--sso-jwt-audience-list}}
>  ** optional, if not supplied, the documented default value will be used
> {noformat:title=Examples}
> ambari-server setup-sso --help
> ambari-server setup-sso --sso-enabled=true 
> --sso-provider-url=https://knox.ambari.apache.org:8443 
> --sso-public-cert-file=/tmp/sso.pem
> ambari-server setup-sso --sso-enabled=true 
> --sso-provider-url=https://knox.ambari.apache.org:8443 
> --sso-public-cert-file=/tmp/sso.pem --sso-jwt-cookie-name=ambari-jtw 
> ambari-server setup-sso --sso-enabled=true 
> --sso-provider-url=https://knox.ambari.apache.org:8443 
> --sso-public-cert-file=/tmp/sso.pem --sso-jwt-cookie-name=ambari-jtw 
> --sso-jwt-audience-list=ambari
> ambari-server setup-sso --sso-enabled=true 
> --sso-provider-url=https://knox.ambari.apache.org:8443 
> --sso-public-cert-file=/tmp/sso.pem
> ambari-server setup-sso --sso-enabled=false
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to