org.oddjob.jmx.server
Class SimpleServerSecurity

java.lang.Object
  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.oddjob.arooa.types.ValueFactory
ValueFactory.Conversions
 
Constructor Summary
SimpleServerSecurity()
           
 
Method Summary
 File getAccessFile()
           
 File getPasswordFile()
           
 boolean isUseSSL()
           
 void setAccessFile(File accessFile)
           
 void setPasswordFile(File passwordFile)
           
 void setUseSSL(boolean useSSL)
           
 Map<String,?> toValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleServerSecurity

public SimpleServerSecurity()
Method Detail

toValue

public Map<String,?> toValue()
Specified by:
toValue in interface ValueFactory<Map<String,?>>

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)