在OpenID中使用Spring Security时AccessControlException [英] AccessControlException when using Spring Security with OpenID
问题描述
我尝试在Google App Engine中使用OpenID实现Spring Security,但我得到
'java.security.AccessControlException:access denied'for
RequestURI / j_spring_openid_security_chec
如果我使用'-D - enable_all_permissions = true'作为VM
参数,它工作正常。
任何想法?
感谢,
Ralph
看看异常堆栈跟踪,试图找出正在发生的问题。
想法2 - 询问SpringSecurity论坛和/或提交错误报告。
我还会注意到,当您在Java安全沙箱中运行某些东西时,大量Java代码会中断。 SpringSecurity的正常用例是在没有沙箱的J2EE容器(例如servlet)中运行。你在做什么听起来......呃......不同。
I try to implement Spring Security with OpenID in Google App Engine but I am getting a 'java.security.AccessControlException: access denied' for the RequestURI /j_spring_openid_security_chec
It is working fine if I use '-D--enable_all_permissions=true' as VM Argument.
Any ideas?
Thanks, Ralph
Idea 1 - look at the exception stacktrace to try to figure out whar is going on.
Idea 2 - ask on the SpringSecurity forum and/or submit a bug report.
I'd also note that lots of Java code breaks when you run things in a Java security sandbox. The normal use-case for SpringSecurity is to run in a J2EE container (e.g. a servlet) without sandboxing. What you are doing sounds ... um ... different.
这篇关于在OpenID中使用Spring Security时AccessControlException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!