public class OpenmrsSecurityManager extends SecurityManager
SecurityManager
inCheck
Constructor and Description |
---|
OpenmrsSecurityManager() |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getCallerClass(int callStackDepth)
Returns the class on the current execution stack at the given depth. 0 is the most recently
called class.
|
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, inClassLoader
public Class<?> getCallerClass(int callStackDepth)
callStackDepth
- APIException
- if given a callStackDepth less than zeroShould get the most recently called method
Should throw an error if given a subzero call stack level
Copyright © 2024 OpenMRS Inc.. All rights reserved.