Use a filter to redirect the request or tell the user that path doesen't
exists, and put it last and make it match everything, like this:

[urls]
...
/** = yourFilterForBadPath

On Thu, Feb 25, 2016 at 11:26 PM, Mohit Srivastava <
[email protected]> wrote:

> Hi,
>
> Shiro's default behaviour for path mismatch is nothing. I mean if a
> request url path doesn't match any thing defined in Filter chain, shiro
> used to pass it instead of failing.
>
> Is there a way I can simply reject those path which are not defined in
> filterchain?
>
> Thanks & Regards,
> Mohit
>

Reply via email to