title: GWT Spring security - Client
body: <p>I have managed to integrate spring security to my GWT application using the following approach:</p>
  
  <p><a href="http://technowobble.blogspot.com/2010_05_01_archive.html" rel="nofollow noreferrer">http://technowobble.blogspot.com/2010_05_01_archive.html</a></p>
  
  <p>Note that I used the gwtrpcspring library for basic spring integration with GWT and it works well (non-invasive and efficient).</p>
  
  <p>My question for which I can't seem to find the answer for is how do I use spring security in my GWT widgets based on Authorization - for example, I wouldn't want to show a menu item or a save option to a user who doesn't have the authority for these. Of course, my methods are protected at the server side, but I wouldn't want a user to click on something only then to find out they have no access to it. I don't want to litter my presentation logic with security related code (if-else blocks) if possible.</p>
  
  <p>Is there something equivalent of the spring security jsp tag library that can be used within GWT client code? Or do we have to build up something on our own? </p>