phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4150) Adding a policy filter to whitelist the properties that allow to be passed to Phoenix
Date Sat, 09 Sep 2017 01:38:00 GMT

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

Hudson commented on PHOENIX-4150:
---------------------------------

SUCCESS: Integrated in Jenkins build Phoenix-master #1783 (See [https://builds.apache.org/job/Phoenix-master/1783/])
PHOENIX-4150 nit: adding license and reformating comments (tdsilva: rev 2ad5d4b48c16743b3f3968a858f9da19c14070fa)
* (edit) phoenix-core/src/test/resources/META-INF/services/org.apache.phoenix.query.PropertyPolicy
* (edit) phoenix-core/src/test/java/org/apache/phoenix/query/TestPropertyPolicy.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/query/PropertyNotAllowedException.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/query/PropertyPolicy.java


> Adding a policy filter to whitelist the properties that allow to be passed to Phoenix
> -------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4150
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4150
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Ethan Wang
>            Assignee: Ethan Wang
>            Priority: Critical
>             Fix For: 4.12.0
>
>         Attachments: PHOENIX-4150-v1.patch, PHOENIX-4150-v2.patch, PHOENIX-4150-v3.patch,
PHOENIX-4150-v4-nit.patch
>
>
> Adding a policy filter to whitelist the properties that allow to be passed to Phoenix.
> Feature proposal:
> When user getting phoenix connection via
> Connection conn = DriverManager.getConnection(connectionString, properties);
> A properties whitelist policy will essentially check each properties that passed in (likely
happen at PhoenixDriver.java), so that the un-allowed property will result in an exception
been thrown.
> Similar to HBaseFactoryProvider, proposing have a interface for whitelist policy and
a default impl that will by default allow all properties. User can override the impl for this
interface to start using whitelist feature
> [~jamestaylor]   [~alexaraujo]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message