[
https://issues.apache.org/jira/browse/CASSANDRA-10873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15059819#comment-15059819
]
Mike Adamson commented on CASSANDRA-10873:
------------------------------------------
Patch for this here:
||3.0||trunk||
|[branch|https://github.com/mike-tr-adamson/cassandra/tree/10873-3.0]|[branch|https://github.com/mike-tr-adamson/cassandra/tree/10873-trunk]|
|[testall|http://cassci.datastax.com/view/Dev/view/madamson/job/mike-tr-adamson-10873-3.0-testall/]|[testall|http://cassci.datastax.com/view/Dev/view/madamson/job/mike-tr-adamson-10873-trunk-testall/]|
|[dtests|http://cassci.datastax.com/view/Dev/view/madamson/job/mike-tr-adamson-10873-3.0-dtest/]|[dtests|http://cassci.datastax.com/view/Dev/view/madamson/job/mike-tr-adamson-10873-trunk-dtest/]|
The bulkloader now takes the {{-ap <auth provider class name>}} parameter to
allow a 3rd party auth provider to be used. This can be combined with the {{-u
<username>}} and {{-pw <password>}} parameters if the auth provider supports
plain text credentials. In this case the auth provider must have a constructor
of the form:
{noformat}
public MyAuthProvider(String username, String password)
{
...
}
{noformat}
> Allow sstableloader to work with 3rd party authentication providers
> -------------------------------------------------------------------
>
> Key: CASSANDRA-10873
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10873
> Project: Cassandra
> Issue Type: New Feature
> Components: Tools
> Reporter: Mike Adamson
> Assignee: Mike Adamson
> Fix For: 3.0.x
>
>
> sstableloader (BulkLoader) currently only takes {{username}} and {{password}}
> as credentials so only works with the {{PlainTextAuthProvider}} provided by
> the java driver.
> It should allow 3rd party auth providers to be used by allowing the full
> classname of the auth provider to be passed as a parameter.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)