Hi, 
What I think you are asking is hybrid configuration. You would have to override 
WebEnvironment class. I believe this is well documented already 

> On Mar 4, 2024, at 4:05 PM, Steinar Bang <s...@dod.no> wrote:
> 
> 
>> 
>>>>>> Lenny Primak <lenny-5o6p1tln9c5dpfhejli...@public.gmane.org>:
> 
>> Have you actually tried it?  It’s unusual but should work if I understand 
>> your example correctly
> 
> Oh the shiro.ini example as shown will work, no problem.
> 
> But I don't want to set the access of /album/picture1 and
> /album/picture2 in the shiro.ini
> 
> What I want to do is to have a shiro.ini like so:
> 
> [urls]
> / = anon
> /api/** = anon
> /album/** = authc
> 
> And then I would like to *programatically* set anon access on
> /album/picture1 and /album/picture2.
> 

Reply via email to