| java.lang.Object java.lang.SecurityManager org.w3c.jigsaw.http.httpdSecurityManager
httpdSecurityManager | public class httpdSecurityManager extends SecurityManager (Code) | | The jhttpd security manager.
You really need this if you plan to accept agent execution on your server.
Although, in next versions, the security manager may be used to limit
your server users in what entities they can export.
Add the -s command line argument to jhttpd invocation to
set the security manager to an instance of this class.
|
Field Summary | |
final public static String | SM_AGENT_ACCEPT_P Name of the property indicating if agents are allowed to accept(). | final public static String | SM_AGENT_WRITE_P Name of the property indicating if agents are allowed to write(). | final public static String | SM_DEBUG_P Name of the property indicating if security maneger is debuged. |
SM_AGENT_ACCEPT_P | final public static String SM_AGENT_ACCEPT_P(Code) | | Name of the property indicating if agents are allowed to accept().
When true, this property indicates that agents are
allowed to use the accept method of ServerSockets.
This property defaults to false.
|
SM_AGENT_WRITE_P | final public static String SM_AGENT_WRITE_P(Code) | | Name of the property indicating if agents are allowed to write().
When true, this property indicates that agents
are allowed to use the write method of output streams.
This property defaults to false.
|
SM_DEBUG_P | final public static String SM_DEBUG_P(Code) | | Name of the property indicating if security maneger is debuged.
When true this property makes the security manager
emits debugging traces.
This property defaults to false.
|
checkAccept | public void checkAccept(String host, int port)(Code) | | |
checkCreateClassLoader | public void checkCreateClassLoader()(Code) | | |
checkListen | public void checkListen(int port)(Code) | | |
checkPropertiesAccess | public void checkPropertiesAccess()(Code) | | |
checkRead | public void checkRead(int fd)(Code) | | |
checkWrite | public void checkWrite(int fd)(Code) | | |
inAgent | final protected boolean inAgent()(Code) | | |
Fields inherited from java.lang.SecurityManager | protected boolean inCheck(Code)(Java Doc)
|
|
|