GWT Spring Security - Client

I was able to integrate spring security into my GWT application using the following approach:

http://technowobble.blogspot.com/2010_05_01_archive.html

Note that I used the gwtrpcspring library for basic spring integration with GWT, and it works well (non-invasively and efficiently).

My question I cannot find the answer to is how to use spring security in my authorization-based GWT widgets - for example, I would not want to show a menu item or save an option for a user who does not have authority for them. Of course, my methods are protected on the server side, but I would not want the user to click on something only to find out that they do not have access to it. I do not want, if possible, to put my presentation logic in security code (if-else blocks).

Is there something equivalent to the w760 security jsp tag library that can be used in GWT client code? Or do we need to build something on our own?

+3
source share
2 answers

- , , , - , , .

Ian

+1

, , Spring Security framework .

, RPC ( ), .

, https://code.google.com/p/gspring > GWT Spring.

0

Source: https://habr.com/ru/post/1752815/


All Articles