ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-9014) Design admin principal session expiration handling API call
Date Tue, 13 Jan 2015 02:11:36 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-9014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Levas updated AMBARI-9014:
---------------------------------
    Description: 
Provide the standard error code that will be returned along with the error message.

If administrative credentials are not available
{code:title=400 Bad Request}
{
  "status" : 400,
  "message" : "java.lang.IllegalArgumentException: Missing KDC administrator credentials.\nThe
KDC administrator credentials must be set in session by updating the relevant Cluster resource.This
may be done by issuing a PUT to the api/v1/clusters/(cluster name) API entry point with the
following payload:\n{\n  \"session_attributes\" : {\n    \"kerberos_admin\" : {\"principal\"
: \"(PRINCIPAL)\", \"password\" : \"(PASSWORD)\"}\n  }\n}"
}
{code}

If administrative credentials are not valid, for example, incorrect principal or password
(or keytab)
{code:title=400 Bad Request}
{
  "status" : 400,
  "message" : "java.lang.IllegalArgumentException: Invalid KDC administrator credentials.\nThe
KDC administrator credentials must be set in session by updating the relevant Cluster resource.This
may be done by issuing a PUT to the api/v1/clusters/(cluster name) API entry point with the
following payload:\n{\n  \"session_attributes\" : {\n    \"kerberos_admin\" : {\"principal\"
: \"(PRINCIPAL)\", \"password\" : \"(PASSWORD)\"}\n  }\n}"
}
{code}

  was:
Provide the standard error code that will be returned along with the error message.

If administrative credentials are not available
{code:title=400 Bad Request}
{
  "status" : 400,
  "message" : "java.lang.IllegalArgumentException: Missing KDC administrator credentials"
}
{code}

If administrative credentials are not valid, for example, incorrect principal or password
(or keytab)
{code:title=400 Bad Request}
{
  "status" : 400,
  "message" : "java.lang.IllegalArgumentException: Invalid KDC administrator credentials"
}
{code}


> Design admin principal session expiration handling API call
> -----------------------------------------------------------
>
>                 Key: AMBARI-9014
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9014
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>              Labels: kdc_credentials, kerberos
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9014_01.patch, AMBARI-9014_02.patch
>
>
> Provide the standard error code that will be returned along with the error message.
> If administrative credentials are not available
> {code:title=400 Bad Request}
> {
>   "status" : 400,
>   "message" : "java.lang.IllegalArgumentException: Missing KDC administrator credentials.\nThe
KDC administrator credentials must be set in session by updating the relevant Cluster resource.This
may be done by issuing a PUT to the api/v1/clusters/(cluster name) API entry point with the
following payload:\n{\n  \"session_attributes\" : {\n    \"kerberos_admin\" : {\"principal\"
: \"(PRINCIPAL)\", \"password\" : \"(PASSWORD)\"}\n  }\n}"
> }
> {code}
> If administrative credentials are not valid, for example, incorrect principal or password
(or keytab)
> {code:title=400 Bad Request}
> {
>   "status" : 400,
>   "message" : "java.lang.IllegalArgumentException: Invalid KDC administrator credentials.\nThe
KDC administrator credentials must be set in session by updating the relevant Cluster resource.This
may be done by issuing a PUT to the api/v1/clusters/(cluster name) API entry point with the
following payload:\n{\n  \"session_attributes\" : {\n    \"kerberos_admin\" : {\"principal\"
: \"(PRINCIPAL)\", \"password\" : \"(PASSWORD)\"}\n  }\n}"
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message