Package com.sun.enterprise.security.ee
Class J2EESecurityManager
- java.lang.Object
-
- java.lang.SecurityManager
-
- java.rmi.RMISecurityManager
-
- com.sun.enterprise.security.ee.J2EESecurityManager
-
public class J2EESecurityManager extends RMISecurityManager
Java 2 security manager that enforces code security.- Author:
- Harish Prabandham
-
-
Constructor Summary
Constructors Constructor Description J2EESecurityManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancacheEnabled()voidcheckAccess(ThreadGroup t)voidcheckConnect(String host, int port)voidcheckConnect(String host, int port, Object context)voidcheckExit(int status)voidcheckPackageAccess(String pkgname)voidcheckPropertyAccess(String key)voidenablePermissionCache(PermissionCache c)-
Methods inherited from class java.lang.SecurityManager
checkAccept, checkAccess, checkCreateClassLoader, checkDelete, checkExec, checkLink, checkListen, checkMulticast, checkMulticast, checkPackageDefinition, checkPermission, checkPermission, checkPrintJobAccess, checkPropertiesAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkWrite, checkWrite, getClassContext, getSecurityContext, getThreadGroup
-
-
-
-
Method Detail
-
checkAccess
public void checkAccess(ThreadGroup t)
- Overrides:
checkAccessin classSecurityManager
-
checkPackageAccess
public void checkPackageAccess(String pkgname)
- Overrides:
checkPackageAccessin classSecurityManager
-
checkExit
public void checkExit(int status)
- Overrides:
checkExitin classSecurityManager
-
checkConnect
public void checkConnect(String host, int port)
- Overrides:
checkConnectin classSecurityManager
-
checkConnect
public void checkConnect(String host, int port, Object context)
- Overrides:
checkConnectin classSecurityManager
-
checkPropertyAccess
public void checkPropertyAccess(String key)
- Overrides:
checkPropertyAccessin classSecurityManager
-
cacheEnabled
public boolean cacheEnabled()
-
enablePermissionCache
public void enablePermissionCache(PermissionCache c)
-
-