ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-4337) Document the fact that X-Requested-By HTTP header needs to be passed for non-GET API calls
Date Fri, 16 May 2014 11:06:13 GMT

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

Yusaku Sako updated AMBARI-4337:
--------------------------------

    Fix Version/s:     (was: 1.6.0)
                   1.6.1

> Document the fact that X-Requested-By HTTP header needs to be passed for non-GET API
calls
> ------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-4337
>                 URL: https://issues.apache.org/jira/browse/AMBARI-4337
>             Project: Ambari
>          Issue Type: Task
>          Components: documentation
>    Affects Versions: 1.4.2
>            Reporter: Yusaku Sako
>             Fix For: 1.6.1
>
>
> Ambari 1.4.2 added CSRF prevention by default.
> This means that non-GET calls now require the "X-Requested-By" header.  The API reference
doc should be updated to reflect this change.
> Also, we should mention that this behavior can be turned off (at the risk of allowing
CSRF) by modifying /etc/ambari/conf/ambari.properties and setting api.csrfPrevention.enabled=false.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message