I have written custom servlet and REST module for JIRA. I want user to authenticate before using those servlet or REST API if user has not done authentication yet. Do I need to written servlet filter for authentication or JIRA provides something out of the box for custom REST plugin or Servelt plugin.
If I have to write my own authentication servlet filter, is there any example available for it