我目前的工作是将springmvc应用程序迁移到基于angularjs的应用程序(主要目的是使用基于纯html的框架而不是JSP)。
它是基于登录,并使用spring security。我得到了很好的例子,但我坚持使用http会话和会话超时。
https://github.com/philipsorst/angular-rest-springsecurity -使用cookie存储会话。
演示的另一个很好的例子
https://samerabdelkafi.wordpress.com/2016/01/25/secure-angularjs-application-with-spring-security/
上面示例使用了基于java的配置,而不是spring-context.xml、spring-security.xml和web.xml。因此,我很难使用当前的xmls设置进行映射。
对此有什么建议吗?有没有使用基于xml的配置来保证angularjs+spring安全的例子?
发布于 2016-05-09 14:26:05
https://stackoverflow.com/questions/37106281
复制相似问题