You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandeep More (Jira)" <ji...@apache.org> on 2024/03/06 19:48:00 UTC

[jira] [Resolved] (KNOX-2998) Path based authorization

     [ https://issues.apache.org/jira/browse/KNOX-2998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandeep More resolved KNOX-2998.
--------------------------------
    Resolution: Fixed

> Path based authorization
> ------------------------
>
>                 Key: KNOX-2998
>                 URL: https://issues.apache.org/jira/browse/KNOX-2998
>             Project: Apache Knox
>          Issue Type: New Feature
>          Components: Server
>            Reporter: Sandeep More
>            Assignee: Sandeep More
>            Priority: Major
>             Fix For: 2.1.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> We will need a new acls extension (similar to AclsAuthz) to support this functionality.  Following, is an example of how this might look.
>  
> {code:java}
>       <provider>
>             <role>authorization</role>
>             <name>PathAclsAuthz</name>
>             <enabled>true</enabled>
>             <param>
>                 <name>path.acl</name>
>                 <value>https://*:*/**/knoxtoken/api/**;admin;*;*</value> 
>             </param>
>         </provider>
> {code}
> This new extension (`path` in the above example) will work with CompositeAuthz and follow the same pattern as AclsAuthz provider. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)