KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > net > SocketPermission > Top Examples

  • com.untrusted.script.UntrustedScriptHandler
    This class implements the ScriptHandler interface and represents an example of untrusted code. It creates a number of Java Permissions and checks that access is denied. the tests fail if the Permissions are granted. The only thing that the class should be allowed to make is a connection back to ...
  • org.eclipse.ant.internal.core.AntSecurityManager
    A security manager that always throws an <code>AntSecurityException</code> if the calling thread attempts to cause the Java Virtual Machine to exit/halt or if the restricted thread attempts to set a System property. Otherwise this manager just delegates to the pre-existing manager pass ...
  • org.apache.tools.ant.types.Permissions
    This class implements a security manager meant for useage by tasks that run inside the ant VM. An examples are the Java Task and JUnitTask. The basic functionality is that nothing (except for a base set of permissions) is allowed, unless the permission is granted either explicitly or implicitly. ...
Popular Tags