You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gus Heck (JIRA)" <ji...@apache.org> on 2019/04/02 19:53:00 UTC

[jira] [Commented] (SOLR-13220) Add connect Streaming Expression to create cached JDBC connections

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

Gus Heck commented on SOLR-13220:
---------------------------------

Not saying this is a bad idea, but just want to note that it sounds like it would have some security implications. Once used, it sounds like this creates an authenticated connection that can be a target for expression injection attacks (replacing guessing name/passoword with guessing the connection name). Just something users should be aware of.

> Add connect Streaming Expression to create cached JDBC connections
> ------------------------------------------------------------------
>
>                 Key: SOLR-13220
>                 URL: https://issues.apache.org/jira/browse/SOLR-13220
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Joel Bernstein
>            Assignee: Joel Bernstein
>            Priority: Major
>
> Currently the *jdbc* Streaming Expression requires that username, password and URL parameters are set to operate. This ticket will allow users to configure JDBC connections using the new *connect* Streaming Expression. 
> The *jdbc* Streaming Expression will be changed to use the cached connections rather than accepting parameters directly.
> The *parallel* Streaming Expression can be used to setup connections on each node of a collection.
> The *Apache Hive* JDBC driver will also be included with Apache Solr as part of this ticket to allow seamless out-of-the-box connection to Apache Hive.
> Syntax:
> {code:java}
> connect(connectionName, url="", username="", password=""){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org