public class BatikSecurityManager
extends java.lang.SecurityManager
SecurityManager
extension exposes the getClassContext
method so that it can be used by the BatikSecuritySupport
or other
security related class.Constructor and Description |
---|
BatikSecurityManager() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class[] |
getClassContext()
Returns the current execution stack as an array of classes.
|
checkAccept, checkAccess, checkAccess, checkAwtEventQueueAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkExit, checkLink, checkListen, checkMemberAccess, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPermission, checkPermission, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkTopLevelWindow, checkWrite, checkWrite, classDepth, classLoaderDepth, currentClassLoader, currentLoadedClass, getInCheck, getSecurityContext, getThreadGroup, inClass, inClassLoader
public java.lang.Class[] getClassContext()
The length of the array is the number of methods on the execution
stack. The element at index 0
is the class of the
currently executing method, the element at index 1
is
the class of that method's caller, and so on.
getClassContext
in class java.lang.SecurityManager
Copyright © 2022 Apache Software Foundation. All Rights Reserved.