AccessControlException when using Spring Security with OpenID
I try to implement Spring Security with OpenID in Google App Engine but I am getting a 'java.security.AccessContro开发者_运维百科lException: 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.
精彩评论