Package com.liferay.portal.kernel.test
Class SwappableSecurityManager
Object
SecurityManager
com.liferay.portal.kernel.test.SwappableSecurityManager
- All Implemented Interfaces:
Closeable,AutoCloseable
- Author:
- Shuyang Zhou
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckPermission(Permission permission) voidclose()voidinstall()Methods inherited from class java.lang.SecurityManager
checkAccept, checkAccess, checkAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkExit, checkLink, checkListen, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPermission, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkWrite, checkWrite, getClassContext, getSecurityContext, getThreadGroup
-
Constructor Details
-
SwappableSecurityManager
public SwappableSecurityManager()
-
-
Method Details
-
checkPermission
- Overrides:
checkPermissionin classSecurityManager
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
install
public void install()
-