org.apache.velocity.test.issues
Class VelTools66TestCase.TestSecurityManager

java.lang.Object
  extended by java.lang.SecurityManager
      extended by org.apache.velocity.test.issues.VelTools66TestCase.TestSecurityManager
Enclosing class:
VelTools66TestCase

public static final class VelTools66TestCase.TestSecurityManager
extends SecurityManager


Field Summary
 
Fields inherited from class java.lang.SecurityManager
inCheck
 
Constructor Summary
VelTools66TestCase.TestSecurityManager()
           
 
Method Summary
 void checkMemberAccess(Class c, int i)
           
 void checkPackageAccess(String s)
           
 void checkPermission(Permission p)
           
 void checkPropertyAccess(String s)
           
 void checkRead(String file)
           
 
Methods inherited from class java.lang.SecurityManager
checkAccept, checkAccess, checkAccess, checkAwtEventQueueAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkExit, checkLink, checkListen, checkMulticast, checkMulticast, checkPackageDefinition, checkPermission, checkPrintJobAccess, checkPropertiesAccess, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkTopLevelWindow, checkWrite, checkWrite, classDepth, classLoaderDepth, currentClassLoader, currentLoadedClass, getClassContext, getInCheck, getSecurityContext, getThreadGroup, inClass, inClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelTools66TestCase.TestSecurityManager

public VelTools66TestCase.TestSecurityManager()
Method Detail

checkMemberAccess

public void checkMemberAccess(Class c,
                              int i)
Overrides:
checkMemberAccess in class SecurityManager

checkRead

public void checkRead(String file)
Overrides:
checkRead in class SecurityManager

checkPackageAccess

public void checkPackageAccess(String s)
Overrides:
checkPackageAccess in class SecurityManager

checkPropertyAccess

public void checkPropertyAccess(String s)
Overrides:
checkPropertyAccess in class SecurityManager

checkPermission

public void checkPermission(Permission p)
Overrides:
checkPermission in class SecurityManager


Copyright © 2000-2010 The Apache Software Foundation. All Rights Reserved.