org.apache.geronimo.jmxremoting
Class Credentials

java.lang.Object
  extended by org.apache.geronimo.jmxremoting.Credentials
All Implemented Interfaces:
Serializable, CallbackHandler

public class Credentials
extends Object
implements CallbackHandler, Serializable

Simple wrapper for a username and password.

See Also:
Serialized Form

Constructor Summary
Credentials(String username, String password)
           
 
Method Summary
 void clear()
           
 void handle(Callback[] callbacks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Credentials

public Credentials(String username,
                   String password)
Method Detail

handle

public void handle(Callback[] callbacks)
            throws UnsupportedCallbackException
Specified by:
handle in interface CallbackHandler
Throws:
UnsupportedCallbackException

clear

public void clear()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.