security.example.policy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmockring-core Show documentation
Show all versions of jmockring-core Show documentation
jmockring - Java test MOCKing tool for spRING.
A test harness tool for projects using the following technology stack:
- Java 6+
- Spring 3.1 or greater as a DI/Deployment container
- JUnit 4 and Mockito for testing
- Jetty/Servlet API 3.0 for web app (war) deployment - for testing only
Main features:
1) Partial Spring context deployment with automatic bean mocking for unavailable beans
2) Bootstrapping embedded Jetty server via JUnit runners
3) Configurable web application contexts
4) Automatic injection of Spring beans and mocks in JUnit tests via Java5 annotations
/* AUTOMATICALLY GENERATED ON Sun Jan 27 05:47:33 GMT 2013*/
/* DO NOT EDIT */
grant {
permission java.util.PropertyPermission "*", "read";
permission java.util.PropertyPermission "*", "read, write";
permission java.lang.RuntimePermission "accessDeclaredMembers";
permission java.io.FilePermission "<>", "read";
permission java.lang.RuntimePermission "getenv.*";
permission java.io.FilePermission "${user.install.root}\\-", "read, write, delete";
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
permission java.lang.RuntimePermission "getClassLoader";
permission java.lang.RuntimePermission "createClassLoader";
permission java.lang.RuntimePermission "getProtectionDomain";
permission java.lang.RuntimePermission "modifyThread";
permission java.io.FilePermission "${java.io.tmpdir}\\*", "read, write, delete, execute";
permission java.lang.RuntimePermission "modifyThreadGroup";
permission java.net.SocketPermission "*", "connect";
permission java.lang.RuntimePermission "loadLibrary.*";
permission java.lang.RuntimePermission "queuePrintJob";
permission java.net.SocketPermission "*", "connect";
};
grant codeBase "file:/${java.home}/-" {
permission java.security.AllPermission;
};