org.oddjob.jmx.client
Class UsernamePassword

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.oddjob.arooa.types.ValueFactory
ValueFactory.Conversions
 
Constructor Summary
UsernamePassword()
           
 
Method Summary
 String getPassword()
           
 String getUsername()
           
 void setPassword(String password)
           
 void setUsername(String username)
           
 Map<String,?> toValue()
          Provide an instance of the type this is a factory for.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsernamePassword

public UsernamePassword()
Method Detail

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)