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

ASF GitHub Bot commented on NIFI-1553:
--------------------------------------

Github user markap14 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/330#discussion_r58929464
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-administration/src/main/java/org/apache/nifi/authorization/StandardAuthorizerConfigurationContext.java
 ---
    @@ -44,8 +47,13 @@ public String getIdentifier() {
         }
     
         @Override
    -    public String getProperty(String property) {
    -        return properties.get(property);
    +    public PropertyValue getProperty(String property) {
    +        final String value = properties.get(property);
    +        if (value == null) {
    --- End diff --
    
    In this case, I think we should still be returning a new 
StandardPropertyValue with a value of null, rather than returning no 
PropertyValue at all. This allows us to chain method calls, such as: Integer x 
= getProperty(...).asInteger();


> Implement File Based Authorizer
> -------------------------------
>
>                 Key: NIFI-1553
>                 URL: https://issues.apache.org/jira/browse/NIFI-1553
>             Project: Apache NiFi
>          Issue Type: Sub-task
>          Components: Extensions
>            Reporter: Matt Gilman
>            Assignee: Matt Gilman
>             Fix For: 1.0.0
>
>
> - Create a file based implementation of the Authorizer API.
> - Reloads on an interval.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to