I need to use Spring Security 3 in my application, which is compiled by Spring 3 for the server side and GWT 2.1 for the client side.
The client side and the server side are completely decoupled, I mean that they do not belong to the same project in the eclipse workspace (the server part is controlled by maven and the client side uses the pre-created ant files), and so far they are "exchanging" each other with using Rest / Json.
Googling I found a few guides and tips for integrating with Spring Security, but they all assume that the "client side" knows the classes of the spring server, and therefore use @Controller @Autowired, etc. under the gwt.server package. In my case, this is impossible (or not cleaned).
Is there a way to use Spring Security and keep the code "untied"? Maybe for each (rest) of the client’s request I should use “basic authentication”?
Thanks Rand
source
share