Package org.apache.batik.util
Class BatikSecurityManager
- java.lang.Object
-
- java.lang.SecurityManager
-
- org.apache.batik.util.BatikSecurityManager
-
public class BatikSecurityManager extends java.lang.SecurityManagerThisSecurityManagerextension exposes thegetClassContextmethod so that it can be used by theBatikSecuritySupportor other security related class.- Version:
- $Id: BatikSecurityManager.java 1805419 2017-08-18 13:04:30Z ssteiner $
-
-
Constructor Summary
Constructors Constructor Description BatikSecurityManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class[]getClassContext()Returns the current execution stack as an array of classes.-
Methods inherited from class java.lang.SecurityManager
checkAccept, checkAccess, checkAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkExit, checkLink, checkListen, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPermission, checkPermission, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkWrite, checkWrite, getSecurityContext, getThreadGroup
-
-
-
-
Method Detail
-
getClassContext
public java.lang.Class[] getClassContext()
Returns the current execution stack as an array of classes.The length of the array is the number of methods on the execution stack. The element at index
0is the class of the currently executing method, the element at index1is the class of that method's caller, and so on.- Overrides:
getClassContextin classjava.lang.SecurityManager- Returns:
- the execution stack.
-
-