Package org.wso2.carbon.bootstrap
Class CarbonSecurityManager
java.lang.Object
java.lang.SecurityManager
org.wso2.carbon.bootstrap.CarbonSecurityManager
This is the carbon security manager. We need to deny certain property accesses through
security manager. Therefore we had to extend security manager.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAccess check for a thread.voidAccess check for a thread group.voidMethods inherited from class java.lang.SecurityManager
checkAccept, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkExit, checkLink, checkListen, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPermission, checkPermission, checkPrintJobAccess, checkPropertiesAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkWrite, checkWrite, getClassContext, getSecurityContext, getThreadGroup
-
Constructor Details
-
CarbonSecurityManager
public CarbonSecurityManager()
-
-
Method Details
-
checkPropertyAccess
- Overrides:
checkPropertyAccessin classSecurityManager
-
checkAccess
Access check for a thread group. Untrusted code should not be able to do any operations to a thread group (including thread.start()).- Overrides:
checkAccessin classSecurityManager- Parameters:
g- The thread group.
-
checkAccess
Access check for a thread. Untrusted code should not be able to do any operations to a thread (including thread.start()).- Overrides:
checkAccessin classSecurityManager- Parameters:
t- The thread.
-