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

Benjamin Marwell commented on SHIRO-741:
----------------------------------------

Interesting. I'm using the shiro-servlet dependency and it works just fine for 
me. But I'm using matching root only.

> Matching of / (root) is broken
> ------------------------------
>
>                 Key: SHIRO-741
>                 URL: https://issues.apache.org/jira/browse/SHIRO-741
>             Project: Shiro
>          Issue Type: Bug
>          Components: Web
>    Affects Versions: 1.5.0
>            Reporter: Emond Papegaaij
>            Priority: Major
>
> Since SHIRO-682 it is no longer possible match the root of your application 
> with /** . A request at / is transformed into an empty URI and no longer 
> matches /**. This makes it impossible to secure your entire application and 
> provide a whitelist for allowed urls, like this:
> {code}
> [urls]
> /rest/v1/openapi.* = noSessionCreation,anon
> /rest/v1/info = noSessionCreation,anon
> /** = noSessionCreation,oauth2,oauth,secured
> {code}
> So far, I've found no way to match the root in 1.5.



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

Reply via email to