implementing SecurityCategory filter