Does Google App Engine Standard Environment support config the Security Manager?

18 views
Skip to first unread message

Xin Meng via StackOverflow

unread,
May 17, 2017, 9:28:05 AM5/17/17
to google-appengin...@googlegroups.com

Does Google App Engine Standard Environment support config the Security Manager?

For example: add java policy file.

The reason for this question is that when I use santuario xmlsec dependency from 2.0.3 to latest. Always get an exception of Access Deny and the I got some suggestions to grant permission for the specific jar.

Caused by: java.security.AccessControlException: access denied ("java.security.SecurityPermission" "org.apache.xml.security.register")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:445)
at org.apache.xml.security.utils.JavaUtils.checkRegisterPermission(JavaUtils.java:249)
at org.apache.xml.security.utils.ElementProxy.setDefaultPrefix(ElementProxy.java:475)
at org.apache.xml.security.utils.ElementProxy.registerDefaultPrefixes(ElementProxy.java:498)
at org.apache.xml.security.Init$2.run(Init.java:122)
at org.apache.xml.security.Init$2.run(Init.java:117)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.xml.security.Init.dynamicInit(Init.java:117)
at org.apache.xml.security.Init.init(Init.java:94)
at org.opensaml.xmlsec.signature.impl.SignatureMarshaller.<init>(SignatureMarshaller.java:55)
... 108 more


Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/44026185/does-google-app-engine-standard-environment-support-config-the-security-manager
Reply all
Reply to author
Forward
0 new messages