public class DelegateSecurityManager extends CombinerSecurityManager
In this manner we can prevent references to security sensitive object's from escaping.
See "Inside Java 2 Platform Security" 2nd Edition, ISBN:0-201-78791-1, page 176.
Delegate implementations are available separately from the Apache River release.
Delegates can be enabled at runtime by using the DelegateSecurityManager, but only for code that utilises delegates.
DelegatePermissioninCheck| Constructor and Description |
|---|
DelegateSecurityManager() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkPermission(ProtectionDomain pd,
Permission p)
Enables customisation of permission check.
|
checkPermission, checkPermission, clearCache, getSecurityContextcheckAccept, checkAccess, checkAccess, checkAwtEventQueueAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkExit, checkLink, checkListen, checkMemberAccess, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkTopLevelWindow, checkWrite, checkWrite, classDepth, classLoaderDepth, currentClassLoader, currentLoadedClass, getClassContext, getInCheck, getThreadGroup, inClass, inClassLoaderprotected boolean checkPermission(ProtectionDomain pd, Permission p)
CombinerSecurityManagercheckPermission in class CombinerSecurityManagerCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.