curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CURATOR-111) CuratorFramework.Builder should allow adding multiple auths
Date Wed, 04 Jun 2014 18:43:01 GMT

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

Karthik Kambatla commented on CURATOR-111:
------------------------------------------

Sure. One more question. We can improve CuratorFrameworkFactory.Builder to maintain a list
of AuthInfo elements. Then, I see two options:
# Every call to authorization() adds the new element to the list. This changes the behavior
of authorization() in an incompatible way.
# Add new API authorization(List<AuthInfo>) to add a list of auths. 

Which one is more preferable? 

> CuratorFramework.Builder should allow adding multiple auths
> -----------------------------------------------------------
>
>                 Key: CURATOR-111
>                 URL: https://issues.apache.org/jira/browse/CURATOR-111
>             Project: Apache Curator
>          Issue Type: Improvement
>    Affects Versions: 2.5.0
>            Reporter: Karthik Kambatla
>            Assignee: Jordan Zimmerman
>
> Currently, one can add a single authentication scheme/bytes when building CuratorFramework.
It would be handy to add multiple.



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

Mime
View raw message