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

Denes Bodo commented on OOZIE-3063:
-----------------------------------

[~gezapeti] As I see the ConfigurationService class has static methods to read 
configuration. We can get int values, which is OK, but the methods can not 
throw ~"NumberFormatException", but fall back to default 0 value. Should I 
extend the getter to be able to sign problem with number format or should I use 
a separated checker method? I prefer the first option.

Driver on classpath should be checked, I agree.

> Sanitizing variables that are part of openjpa.ConnectionProperties
> ------------------------------------------------------------------
>
>                 Key: OOZIE-3063
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3063
>             Project: Oozie
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 4.2.0
>            Reporter: Denes Bodo
>            Assignee: Denes Bodo
>         Attachments: 
> 0001-OOZIE-3063-Sanitizing-variables-that-are-part-of-ope.patch
>
>
> There are values from oozie-site.xml which are not properly checked before 
> they are passed into a comma-separated string property in JPAService class. 



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

Reply via email to