public class ReflectionSecurityManager extends SecurityManager
getClassContext()
information. Source
on SO| Modifier and Type | Field and Description |
|---|---|
static ReflectionSecurityManager |
INSTANCE |
inCheck| Constructor and Description |
|---|
ReflectionSecurityManager() |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getCallerClass(int nCallStackDepth) |
Class<?>[] |
getCallerClassContext() |
String |
getCallerClassName(int nCallStackDepth) |
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, getClassContext, getInCheck, getSecurityContext, getThreadGroup, inClass, inClassLoaderpublic static final ReflectionSecurityManager INSTANCE
@Nonnull public Class<?> getCallerClass(int nCallStackDepth) throws ArrayIndexOutOfBoundsException
ArrayIndexOutOfBoundsException@Nonnull public String getCallerClassName(int nCallStackDepth) throws ArrayIndexOutOfBoundsException
ArrayIndexOutOfBoundsExceptionCopyright © 2014–2017 Philip Helger. All rights reserved.