[
https://issues.apache.org/jira/browse/HADOOP-10307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoy Antony updated HADOOP-10307:
----------------------------------
Attachment: HADOOP-10307.patch
The requirement is implemented as below:
# Modify AuthenticationFilter so that it accepts multiple
_AuthenticationHandler_ via _type_ as a comma separated list.
# First _AuthenticationHandler_ in the list is set as the default
# To authenticate a user, AuthenticationFilter looks for _authtype_ url
parameter.
If parameter is present, corresponding _AuthenticationHandler_ is looked up by
matching _authtype_ with _AuthenticationHandler_'s type value. Authentication
is attempted using the matched _AuthenticationHandler_
If the _authtype_ parameter is not present, default Authentication is used.
I believe , the behavior is backward compatible.
_Test AuthenticationFilter_ is modified to include unit tests for multiple
mechanisms.
This is tested in our clusters.
> Support multiple Authentication mechanisms for HTTP
> ---------------------------------------------------
>
> Key: HADOOP-10307
> URL: https://issues.apache.org/jira/browse/HADOOP-10307
> Project: Hadoop Common
> Issue Type: Improvement
> Components: security
> Affects Versions: 2.2.0
> Reporter: Benoy Antony
> Assignee: Benoy Antony
> Attachments: HADOOP-10307.patch
>
>
> Currently it is possible to specify custom Authentication Handlers for HTTP
> authentication.
> We have a requirement to support multiple mechanisms to authenticate HTTP
> access.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)