首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Gwt + Spring安全集成

Gwt + Spring安全集成
EN

Stack Overflow用户
提问于 2012-02-11 16:43:25
回答 1查看 609关注 0票数 0

我正在用(智能)gwthibernate (实际上是gileadSpring Security )构建一个应用程序。

顺便说一句,我对所有这些都很陌生。

到目前为止,一切都很好,但我最近添加了Spring安全功能,以实现身份验证系统。似乎有多种方法使这个工作,我看了几个教程。

我喜欢这里这个简单的想法:http://blog.maxmatveev.com/2011/06/gwt-and-spring-security-integration-as.html?showComment=1328698687249#c4823182825437196300

我也尝试过这个(很多虚拟类等等,但是哦,好吧):http://seewah.blogspot.com/2009/02/gwt-and-spring-security.html

在这两种情况下,我都有相同的问题,我在applicationContext.xml中得到了这个错误:

代码语言:javascript
复制
Error occured processing XML 'org/springframework/security/access/intercept/aopalliance/MethodSecurityInterceptor'

在第一个链接中,它发生在行中:

代码语言:javascript
复制
<security:global-method-security secured-annotations="enabled" mode="aspectj"/>

在第二个链接中,它发生在线上:

代码语言:javascript
复制
<security:global-method-security secured-annotations="enabled" jsr250-annotations="disabled" />

我搜索了这个问题,但没有找到答案..

PS1:使用Eclipse3.6的,我已经为Spring框架aspectJ安装了插件。

PS2: --我没有在这里编写所有的代码,而是喜欢使用我使用的教程(可能代码太多了)。

也许有人能帮我。提前谢谢你。

EN

回答 1

Stack Overflow用户

发布于 2012-02-13 11:19:55

这可能是Spring/Spring安全性版本的问题。

确保更新到最近的版本(处理元素的属性mode="aspectj" security:global-method-security),例如Spring-Security3.1。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9241950

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档