1 Reply Latest reply on Nov 8, 2005 5:26 PM by Gavin King

    Alternative to LoggedInInterceptor @LoggedIn

    Marcel Overdijk Newbie

      Hi,

      In the demo application and in the documentation chapter 2.4. Seam interceptors a LoggedInInterceptor is used to check if an user is logged in.
      I'm wondering it there is another alternative to do this?

      I don't like to annotate 99% of all the action classes with @LoggedIn.
      This can be forgotten very easily, and it's additional monkey-work.

      Is there no way to use the @LoggedIn interceptor by default for all classes, and exclude it just for 1% of action which don't need it (loginAction, logoutAction and regsiterAction)

      Regards,
      Marcel