nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewismc <...@git.apache.org>
Subject [GitHub] nutch pull request #142: NUTCH-2294 Authorization Support for REST API
Date Fri, 19 Aug 2016 21:00:22 GMT
Github user lewismc commented on a diff in the pull request:

    https://github.com/apache/nutch/pull/142#discussion_r75550659
  
    --- Diff: conf/nutch-default.xml ---
    @@ -1447,20 +1447,12 @@
     </property>
     
     <property>
    -  <name>restapi.auth.username</name>
    -  <value>admin</value>
    +  <name>restapi.auth.users</name>
    +  <value>admin|admin|admin,user|user|user</value>
       <description>
    -    Username for REST API authentication. restapi.auth property should be set to either
BASIC or DIGEST to use this property.
    -    "admin" is used for username as default.
    -  </description>
    -</property>
    -
    -<property>
    -  <name>restapi.auth.password</name>
    -  <value>nutch</value>
    -  <description>
    -    Password for REST API authentication. restapi.auth property should be set to either
BASIC or DIGEST to use this property.
    -    "nutch" is used for password as default.
    +    Username, password and role combination for REST API authentication/authorization.
restapi.auth property should be set to either BASIC or DIGEST to use this property.
    +    Username, password and role should be delimited by pipe character (|) Every user
should be separated with comma character (,). i.e. admin|admin|admin,user|user|user.
    +    Default is admin|admin|admin.
    --- End diff --
    
    Are you sure that 'admin|admin|admin' is the default. To me, based on the above it looks
like 'admin|admin|admin,user|user|user' is the default.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message