Custom filter is not hitting while login to the CMS

Hi All,

I am trying to add custom filter for channel, we came to know about below URI for the same. we have to implements BiPredicate interface.
I have configured the custom filter with custom-channel-filters.xml file under resources/META-INF/hst-assembly/overrides of site module

could you please let us know what i have to do to hit this filter ?

public class ContentBasedChannelFilter implements BiPredicate<Session, Channel> {

    private static final Logger log = LoggerFactory.getLogger(ContentBasedChannelFilter.class);

    public boolean apply(final Session cmsSes

thanks & regards

According to the doc, if you added your custom filter bean to the list bean named customChannelFilters, then it should work. Isn’t it working for you?

Hi Woonsanko,

thanks for your time and quick reply, it’s because of version mismatch of CMS.
we are using 12 version, so there is config change for 12th version.