[ 
https://issues.apache.org/jira/browse/PHOENIX-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ethan Wang updated PHOENIX-4150:
--------------------------------
    Description: 
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]

  was:
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]


> 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
>
> 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)

Reply via email to