ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-9609) Views: Impersonator doesn't expose any way to POST a body or headers.
Date Thu, 12 Feb 2015 22:41:11 GMT

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

Tom Beerbower commented on AMBARI-9609:
---------------------------------------

The proposed fix for this makes use of the desired functionality on the existing view URLStreamProvider
and deprecates the view HttpImpersonator since the functionality is redundant. It's cleaner
to expose a method to use the "doAs" user on the existing URLStreamProvider interface and
do it all through a single interface.


> Views: Impersonator doesn't expose any way to POST a body or headers.
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-9609
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9609
>             Project: Ambari
>          Issue Type: Task
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9609.patch
>
>
> org.apache.ambari.view.HttpImpersonator allows the user to specify requestType in ...
> {code}
> public String requestURL(String urlToRead, String requestType, ImpersonatorSetting impersonatorSetting);
> {code}
> but no way to pass a body or headers.



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

Mime
View raw message