nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-2294) Authorization Support for REST API
Date Fri, 19 Aug 2016 21:00:22 GMT

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

ASF GitHub Bot commented on NUTCH-2294:
---------------------------------------

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.


> Authorization Support for REST API
> ----------------------------------
>
>                 Key: NUTCH-2294
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2294
>             Project: Nutch
>          Issue Type: Sub-task
>          Components: REST_api, web gui
>            Reporter: Furkan KAMACI
>            Assignee: Furkan KAMACI
>             Fix For: 2.4
>
>
> Add authorization for Nutch REST API.



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

Mime
View raw message