I you are using a shiro.ini just stick your filter in the [main] section.

For example:

[main]
...
myFilter = com.foo.bar.MyWickedCoolFilter

[urls]
/path/* = myFilter
# or possibly
/another/path/* = myFitler[anOption]




On Wed, Oct 26, 2016 at 7:50 PM, Allan C. <[email protected]> wrote:

> There's a SecurityUtils class that can access the static SecurityManager
> object.
>
> Regards,
> Allan C.
>
> On Thu, Oct 27, 2016 at 6:15 AM, Harinath Mallepally <[email protected]>
> wrote:
>
>> Hi,
>>
>> is it possible to get reference of SecurityManager so that a custom
>> AuthenticationFilter can be added?
>>
>>
>> Please let me know
>>
>> Thanks
>> Hari
>>
>>
>

Reply via email to