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

    https://github.com/apache/nifi/pull/267#discussion_r55772695
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/login-identity-providers.xml
 ---
    @@ -89,4 +89,28 @@
             <property name="Authentication Expiration">12 hours</property>
         </provider>
         To enable the ldap-provider remove 2 lines. This is 2 of 2. -->
    +
    +    <!--
    +        Identity provider for username/password authentication backed by a 
local credentials file with the following
    +        format:
    +
    +        <?xml version='1.0' encoding='utf-8'?>
    +        <credentials>
    +            <user name="user1" 
passwordHash="$2a$10$24wB0UAUsRbOXz4KRZ5KlenzcEddnhIyXMyPkpTnS/29Tt12jfJJW" />
    +            <user name="user2" 
passwordHash="$2a$10$dM0d7CBH3ifNZAPKV3EDNOcljMB80y97on6I8wixH4irMw18DYEi6" />
    +        </credentials>
    +
    +        Password hashes may be generated by any tool capable of bcrypt 
type "2a" hashes with 10 rounds.
    +        This provider authenticates, but does not authorize user access 
levels. Users may be separately authorized
    +        through authorized-users.xml.
    +    -->
    +    <!-- To enable the file-identity-provider remove 2 lines. This is 1 of 
2.
    +    <provider>
    +        <identifier>file-identity-provider</identifier>
    +        
<class>org.apache.nifi.authentication.file.FileIdentityProvider</class>
    +        <property name="Credentials File">credentials.xml</property>
    +        <property name="Authentication Expiration">12 hours</property>
    +    </provider>
    +    To enable the file-identity-provider remove 2 lines. This is 1 of 2. 
-->
    --- End diff --
    
    Is this actually line 2 of 2? If not, where is the other line to be removed?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to