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

Jim VanOosten updated HADOOP-10420:
-----------------------------------

    Attachment: HADOOP-10420-003.patch

I've added some modifications.
1. The getAllowedStatusCodes() was changed to only return ok.    An 
authentication payload is expected.

2. The authentication response does not include an object location.  Thus it is 
set to null.   The test complete without error.
If I try to set it to the object location URI to the storage URI, the test 
bucket encounters failures.

3) The code looks for the storage token first.  If not found it looks for an 
auth token.  If neither header is present, an exception is thrown.


> Add support to Swift-FS to support tempAuth
> -------------------------------------------
>
>                 Key: HADOOP-10420
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10420
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs, fs/swift, tools
>    Affects Versions: 2.3.0
>            Reporter: Jinghui Wang
>         Attachments: HADOOP-10420-002.patch, HADOOP-10420-003.patch, 
> HADOOP-10420.patch
>
>
> Currently, hadoop-openstack Swift FS supports keystone authentication. The 
> attached patch adds support for tempAuth. Users will be able to configure 
> which authentication to use.



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

Reply via email to