0
我开发一个春天的Web应用程序在何处,JSP页面不直接包含的数据中,JSP被加载后,相反,我做REST调用使用AJAX和与服务器进行交互。我的客户的主要要求是服务器保持无状态,用户名和密码不应以纯文本形式存储在客户端上。我已经查看了分别验证Web和REST服务的各种示例。我需要统一的解决方案。如果任何人都可以帮助我,我会非常感激。我花了差不多一个星期的时间试图想出一个解决方案。由于春季安全的Web MVC和REST
可能你的,你尝试过什么东西或实例分享你提到? – DevelopmentIsMyPassion
我看了 - http://www.baeldung.com/2011/10/31/securing-a-restful-web-service-with-spring-security-3-1-part-3/ http ://stackoverflow.com/questions/18205436/spring-mvc-spring-security-login-with-a-rest-web-service http://stackoverflow.com/questions/10826293/restful-authentication-via-弹簧 http://krams915.blogspot.in/2010/12/spring-security-mvc-integration.html –