You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Tom Beerbower (JIRA)" <ji...@apache.org> on 2015/02/12 23:41:11 UTC

[jira] [Commented] (AMBARI-9609) Views: Impersonator doesn't expose any way to POST a body or headers.

    [ 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)