>>>>> Steinar Bang <sb-1rlz5cwd...@public.gmane.org>:

>>>>> Francois Papon 
>>>>> <francois.papon-u8hbpp+lsmimyn6kny0tcg-xmd5yjdbdmrexy1tmh2...@public.gmane.org>:
>> Hi Steinar,
>> I started some test projects, you can take a look here:

>> https://github.com/fpapon/shiro-labs

> thanks! I may be able to replace the deprecated
> WebIniSecurityManagerFactory with stuff from here:
>  
> https://github.com/fpapon/shiro-labs/blob/master/karaf-jaxrs/src/main/java/fr/openobject/labs/shiro/karaf/jaxrs/ShiroService.java#L48

Well, it got me part of the way.

I was able to replace the WebIniSecurityManagerFactory deprecated class,
but I was unable to replace the use of the IniFilterChainResolverFactory:
 
https://github.com/steinarb/authservice/blob/master/authservice.web.security/src/main/java/no/priv/bang/authservice/web/security/AuthserviceShiroFilter.java#L90

Much of the logic for setting up a filter chain seems to be in the
IniFilterChainResolverFactory and doing it manually looked like I would
need to copy a lot of the code of IniFilterChainResolverFactory.

Reply via email to