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

Kevin Risden commented on KNOX-2221:
------------------------------------

I was able to force this to work by setting more path matches in 
test-static-hello-topology.xml:

https://github.com/apache/knox/blob/master/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayAppFuncTest/test-static-hello-topology.xml#L39

{code:java}
            <param>
                <name>urls./**</name>
                <value>authcBasic</value>
            </param>
            <param>
                <name>urls.**</name>
                <value>authcBasic</value>
            </param>
            <param>
                <name>urls.*</name>
                <value>authcBasic</value>
            </param>
{code}

which in turns into this in shiro.ini

{code:java}
[urls]
/**=authcBasic
**=authcBasic
*=authcBasic
{code}

Still seems a bit of a weird side effect stripping the trailing slash in 
SHIRO-682.

> Upgrade shiro to 1.5.0
> ----------------------
>
>                 Key: KNOX-2221
>                 URL: https://issues.apache.org/jira/browse/KNOX-2221
>             Project: Apache Knox
>          Issue Type: Sub-task
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Major
>             Fix For: 1.4.0
>
>         Attachments: log.txt.gz
>
>
> Upgrade shiro 1.4.2 to 1.5.0
> Shiro 1.5.0 release notes: 
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310950&version=12344991



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to