org.oddjob.jmx.client
Class UsernamePassword
java.lang.Object
org.oddjob.jmx.client.UsernamePassword
- All Implemented Interfaces:
- ArooaValue, ValueFactory<Map<String,?>>
public class UsernamePassword
- extends Object
- implements ValueFactory<Map<String,?>>
Description
Provide a JMX simple security credentials
environment for a JMXClientJob
.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsernamePassword
public UsernamePassword()
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.
getUsername
public String getUsername()
setUsername
public void setUsername(String username)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)