AccessControlException when using Spring Security with OpenID

折月煮酒 提交于 2019-11-28 06:22:24

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/1620823/accesscontrolexception-when-using-spring-security-with-openid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!