views:

74

answers:

0

I have a GWT based application. I want to add access control to it. Is there a way to add custom access control for GWT components?

My idea about adding access control/permissions would be as following.

  1. Add access control annotation (if there exists one) to the class (GWT component) for which I need to add access control.
  2. When this component gets rendered, my custom method which checks for access control rules get called and depending on its results the component gets rendered.

Any ideas of how this can be achieved.