将 Spring Security 与 OpenID 一起使用时的 AccessControlException [英] AccessControlException when using Spring Security with OpenID
问题描述
我尝试在 Google App Engine 中使用 OpenID 实现 Spring Security,但我得到了一个'java.security.AccessControlException: access denied' 为请求URI/j_spring_openid_security_chec
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
如果我使用 '-D--enable_all_permissions=true' 作为 VM,它工作正常参数.
It is working fine if I use '-D--enable_all_permissions=true' as VM Argument.
有什么想法吗?
谢谢,拉尔夫
推荐答案
想法 1 - 查看异常堆栈跟踪以尝试找出正在发生的事情.
Idea 1 - look at the exception stacktrace to try to figure out whar is going on.
想法 2 - 在 SpringSecurity 论坛上提问和/或提交错误报告.
Idea 2 - ask on the SpringSecurity forum and/or submit a bug report.
我还注意到,当您在 Java 安全沙箱中运行时,许多 Java 代码会中断.SpringSecurity 的正常用例是在没有沙箱的 J2EE 容器(例如 servlet)中运行.你在做什么听起来......嗯......不同.
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.
这篇关于将 Spring Security 与 OpenID 一起使用时的 AccessControlException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!