org.oddjob.jmx.server
Class SimpleServerSecurity
java.lang.Object
org.oddjob.jmx.server.SimpleServerSecurity
- All Implemented Interfaces:
- ArooaValue, ValueFactory<Map<String,?>>
public class SimpleServerSecurity
- extends Object
- implements ValueFactory<Map<String,?>>
Description
Provide a JMX simple security environment for a
JMXServerJob
.
If SSL is used the appropriate JVM parameters need to be set for both
client and server. See
The JMX Tutorial.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleServerSecurity
public SimpleServerSecurity()
toValue
public Map<String,?> toValue()
- Description copied from interface:
ValueFactory
- Provide an instance of the type this is a factory for.
- Specified by:
toValue
in interface ValueFactory<Map<String,?>>
- Returns:
- An instance of the type. May be null.
getPasswordFile
public File getPasswordFile()
setPasswordFile
public void setPasswordFile(File passwordFile)
getAccessFile
public File getAccessFile()
setAccessFile
public void setAccessFile(File accessFile)
isUseSSL
public boolean isUseSSL()
setUseSSL
public void setUseSSL(boolean useSSL)