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, 06 Jan 2015 23:00:34 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"
}
{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}

  was:
Please provide the standard error code that will be returned along with the error message.
Response format should be same as it is for other API's (json format)
{code}
{
message: This is the error message
}
{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
>
>
> 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}



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

Mime
View raw message