|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.SecurityManager php.java.bridge.JavaBridgeSecurityManager
public class JavaBridgeSecurityManager
A custom security manager for the PHP/Java Bridge.
Example:
PHP_HOME=/usr/lib/php/modules java -Dphp.java.bridge.base=${PHP_HOME} -Djava.security.policy=${PHP_HOME}/javabridge.policy -jar ${PHP_HOME}/JavaBridge.jar
Example options for eclipse:
-Dphp.java.bridge.base=${workspace_loc}${project_path}/
-Djava.security.policy=${workspace_loc}${project_path}/javabridge.policy
Constructor Summary | |
---|---|
JavaBridgeSecurityManager()
|
Method Summary | |
---|---|
void |
checkAccess(java.lang.ThreadGroup g)
|
void |
checkExit(int status)
|
java.lang.ThreadGroup |
getThreadGroup()
All user threads belong to the "JavaBridgeThreadPoolAppGroup" and all internal threads to "JavaBridgeThreadPoolGroup". |
Methods inherited from class java.lang.SecurityManager |
---|
checkAccept, checkAccess, checkAwtEventQueueAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkLink, checkListen, checkMemberAccess, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPermission, checkPermission, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkTopLevelWindow, checkWrite, checkWrite, getInCheck, getSecurityContext |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaBridgeSecurityManager()
Method Detail |
---|
public void checkAccess(java.lang.ThreadGroup g)
checkAccess
in class java.lang.SecurityManager
public java.lang.ThreadGroup getThreadGroup()
getThreadGroup
in class java.lang.SecurityManager
public void checkExit(int status)
checkExit
in class java.lang.SecurityManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |