[
https://issues.apache.org/jira/browse/AMBARI-9014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Levas updated AMBARI-9014:
---------------------------------
Attachment: AMBARI-9014_02.patch
Updates due to reviewer comments.
* Added new Kerberos*Exception classes to declare different error conditions
related to authentication and connecting to KDC servers.
* Updated unit tests
* Cleaned up some code
Patch File [^AMBARI-9014_02.patch]
> 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"
> }
> {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)