AccessControlException when using Spring Security

2019-01-27 01:21发布

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条回答
Luminary・发光体
2楼-- · 2019-01-27 02:19

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.

查看更多
登录 后发表回答